forked from bartvdbraak/blender
Fix T39510, Fix T39523: camera motion blur not working correct after recent changes.
This commit is contained in:
parent
a9b82244de
commit
e05d35bfaf
@ -562,10 +562,6 @@ void BlenderSync::sync_motion(BL::SpaceView3D b_v3d, BL::Object b_override, void
|
|||||||
|
|
||||||
/* note iteration over motion_times set happens in sorted order */
|
/* note iteration over motion_times set happens in sorted order */
|
||||||
foreach(float relative_time, motion_times) {
|
foreach(float relative_time, motion_times) {
|
||||||
/* sync camera, only supports two times at the moment */
|
|
||||||
if(relative_time == -1.0f || relative_time == 1.0f)
|
|
||||||
sync_camera_motion(b_cam, relative_time);
|
|
||||||
|
|
||||||
/* fixed shutter time to get previous and next frame for motion pass */
|
/* fixed shutter time to get previous and next frame for motion pass */
|
||||||
float shuttertime;
|
float shuttertime;
|
||||||
|
|
||||||
@ -584,6 +580,10 @@ void BlenderSync::sync_motion(BL::SpaceView3D b_v3d, BL::Object b_override, void
|
|||||||
b_scene.frame_set(frame, subframe);
|
b_scene.frame_set(frame, subframe);
|
||||||
python_thread_state_save(python_thread_state);
|
python_thread_state_save(python_thread_state);
|
||||||
|
|
||||||
|
/* sync camera, only supports two times at the moment */
|
||||||
|
if(relative_time == -1.0f || relative_time == 1.0f)
|
||||||
|
sync_camera_motion(b_cam, relative_time);
|
||||||
|
|
||||||
/* sync object */
|
/* sync object */
|
||||||
sync_objects(b_v3d, relative_time);
|
sync_objects(b_v3d, relative_time);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user