[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58306] branches/soc-2013-cycles_mblur/ intern/cycles/blender/blender_object.cpp: Changed the object_mblur_steps function to reflect the new defaults.
Gavin Howard
gavin.d.howard at gmail.com
Tue Jul 16 04:27:36 CEST 2013
Revision: 58306
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58306
Author: gdh
Date: 2013-07-16 02:27:35 +0000 (Tue, 16 Jul 2013)
Log Message:
-----------
Changed the object_mblur_steps function to reflect the new defaults.
Modified Paths:
--------------
branches/soc-2013-cycles_mblur/intern/cycles/blender/blender_object.cpp
Modified: branches/soc-2013-cycles_mblur/intern/cycles/blender/blender_object.cpp
===================================================================
--- branches/soc-2013-cycles_mblur/intern/cycles/blender/blender_object.cpp 2013-07-16 02:23:11 UTC (rev 58305)
+++ branches/soc-2013-cycles_mblur/intern/cycles/blender/blender_object.cpp 2013-07-16 02:27:35 UTC (rev 58306)
@@ -103,13 +103,13 @@
{
PointerRNA cmblur = RNA_pointer_get(&b_ob.ptr, "cycles_mblur");
- // 3 is the default.
- uint steps = 3;
+ // 1 is the default.
+ uint steps = 1;
steps = get_int(cmblur, "mblur_steps");
// Make sure we get the minimum.
- steps = steps >= 3 ? steps : 3;
+ steps = steps >= 1 ? steps : 1;
return steps;
}
More information about the Bf-blender-cvs
mailing list