Skip to content

Commit

Permalink
fix: incorrect resolution set
Browse files Browse the repository at this point in the history
  • Loading branch information
bdancer committed Sep 3, 2018
1 parent 221fbfe commit 7150a46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exporting/cloud_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ def __init__(self, bus):
else:
self.renderMode = "bucket"

self.width = VRayScene.SettingsOutput.img_width
self.height = VRayScene.SettingsOutput.img_height
self.width = int(scene.render.resolution_x * scene.render.resolution_percentage * 0.01)
self.height = int(scene.render.resolution_y * scene.render.resolution_percentage * 0.01)

self.animation = not VRayExporter.animation_mode == 'NONE'
if self.animation:
self.frameRange = getFrameRange(scene)
Expand Down

0 comments on commit 7150a46

Please sign in to comment.