[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58292] branches/soc-2013-cycles_mblur/ intern/cycles/render: Added a new field to the Mesh class.

Gavin Howard gavin.d.howard at gmail.com
Tue Jul 16 00:08:39 CEST 2013


Revision: 58292
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58292
Author:   gdh
Date:     2013-07-15 22:08:38 +0000 (Mon, 15 Jul 2013)
Log Message:
-----------
Added a new field to the Mesh class. This is the number of export steps 
for motion blur. Brecht said that it would be best to add it here 
instead of in the Attribute line of classes.

Modified Paths:
--------------
    branches/soc-2013-cycles_mblur/intern/cycles/render/mesh.cpp
    branches/soc-2013-cycles_mblur/intern/cycles/render/mesh.h

Modified: branches/soc-2013-cycles_mblur/intern/cycles/render/mesh.cpp
===================================================================
--- branches/soc-2013-cycles_mblur/intern/cycles/render/mesh.cpp	2013-07-15 21:51:22 UTC (rev 58291)
+++ branches/soc-2013-cycles_mblur/intern/cycles/render/mesh.cpp	2013-07-15 22:08:38 UTC (rev 58292)
@@ -46,6 +46,7 @@
 	transform_normal = transform_identity();
 	displacement_method = DISPLACE_BUMP;
 	bounds = BoundBox::empty;
+	mblur_steps = 1;
 
 	bvh = NULL;
 

Modified: branches/soc-2013-cycles_mblur/intern/cycles/render/mesh.h
===================================================================
--- branches/soc-2013-cycles_mblur/intern/cycles/render/mesh.h	2013-07-15 21:51:22 UTC (rev 58291)
+++ branches/soc-2013-cycles_mblur/intern/cycles/render/mesh.h	2013-07-15 22:08:38 UTC (rev 58292)
@@ -91,6 +91,7 @@
 	bool transform_negative_scaled;
 	Transform transform_normal;
 	DisplacementMethod displacement_method;
+	uint mblur_steps;
 
 	/* Update Flags */
 	bool need_update;




More information about the Bf-blender-cvs mailing list