Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2024
1 parent ded98ba commit f642a9d
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions Render/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,23 @@ class Project(FeatureBase):
QT_TRANSLATE_NOOP(
"App::Property", "The width of the rendered image in pixels"
),
PARAMS.GetInt("RenderWidth", 800)
if PARAMS.GetInt("RenderWidth", 800) > 0
else 800,
(
PARAMS.GetInt("RenderWidth", 800)
if PARAMS.GetInt("RenderWidth", 800) > 0
else 800
),
),
"RenderHeight": Prop(
"App::PropertyInteger",
"Render",
QT_TRANSLATE_NOOP(
"App::Property", "The height of the rendered image in pixels"
),
PARAMS.GetInt("RenderHeight", 600)
if PARAMS.GetInt("RenderHeight", 600) > 0
else 600,
(
PARAMS.GetInt("RenderHeight", 600)
if PARAMS.GetInt("RenderHeight", 600) > 0
else 600
),
),
"GroundPlane": Prop(
"App::PropertyBool",
Expand Down

0 comments on commit f642a9d

Please sign in to comment.