Skip to content

Commit de5acab

Browse files
authored
RPRBLND-1623: Using the "stepcount" setting (i.e frames per step) causes long motion blur. (#229)
PURPOSE Blender has a setting for “step count” which would set frame step between animation. It seems for example if this is set to 5 then motion blur is 5x more blurred than should be. EFFECT OF CHANGE Fixed issue with long motion blur when step count (frames per step in animation) > 1.
1 parent e5e3a41 commit de5acab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rprblender/engine/engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def set_motion_blur(rpr_object, prev_matrix, cur_matrix):
194194
return
195195

196196
cur_frame = depsgraph.scene.frame_current
197-
prev_frame = cur_frame - depsgraph.scene.frame_step
197+
prev_frame = cur_frame - 1
198198

199199
# set to previous frame and calculate motion blur data
200200
self._set_scene_frame(depsgraph.scene, prev_frame, 0.0)

0 commit comments

Comments
 (0)