Commit description and rectify line length

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
This commit is contained in:
r42-chun 2024-03-14 12:08:37 +00:00 committed by GitHub
parent e8bfb90362
commit df83dfaf40
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,8 +17,13 @@ class ValidateExtendedViewport(pyblish.api.ContextPlugin):
rt.viewport.activeViewportEx(1)
except RuntimeError:
raise PublishValidationError(
"Please make sure at least one viewport is not an extended viewport but a 3dsmax supported viewport "
"i.e camera/persp/orthographic view. To rectify it, please go to view in the top menubar, "
"go to Views -> Viewports Configuration -> layout and right click on one of the panels to change "
"it.", title=self.label)
"Please make sure one viewport is not an extended viewport",
description = (
"Please make sure at least one viewport is not an "
"extended viewport but a 3dsmax supported viewport "
"i.e camera/persp/orthographic view.\n\n"
"To rectify it, please go to view in the top menubar, "
"go to Views -> Viewports Configuration -> Layout and "
"right click on one of the panels to change it."
))