[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55832] trunk/blender/intern/cycles/util: Fix #34880: cycles motion blur render issue with some compilers.
Brecht Van Lommel
brechtvanlommel at pandora.be
Sat Apr 6 01:03:11 CEST 2013
Revision: 55832
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55832
Author: blendix
Date: 2013-04-05 23:03:10 +0000 (Fri, 05 Apr 2013)
Log Message:
-----------
Fix #34880: cycles motion blur render issue with some compilers. Actually is a bigger
problem where accessing float4 members with [] stops working due to optimizer, will
check that later.
Modified Paths:
--------------
trunk/blender/intern/cycles/util/util_transform.cpp
trunk/blender/intern/cycles/util/util_transform.h
Modified: trunk/blender/intern/cycles/util/util_transform.cpp
===================================================================
--- trunk/blender/intern/cycles/util/util_transform.cpp 2013-04-05 22:56:01 UTC (rev 55831)
+++ trunk/blender/intern/cycles/util/util_transform.cpp 2013-04-05 23:03:10 UTC (rev 55832)
@@ -155,7 +155,7 @@
/* Motion Transform */
-static float4 transform_to_quat(const Transform& tfm)
+float4 transform_to_quat(const Transform& tfm)
{
double trace = tfm[0][0] + tfm[1][1] + tfm[2][2];
float4 qt;
Modified: trunk/blender/intern/cycles/util/util_transform.h
===================================================================
--- trunk/blender/intern/cycles/util/util_transform.h 2013-04-05 22:56:01 UTC (rev 55831)
+++ trunk/blender/intern/cycles/util/util_transform.h 2013-04-05 23:03:10 UTC (rev 55832)
@@ -454,6 +454,7 @@
return (A.pre == B.pre && A.post == B.post);
}
+float4 transform_to_quat(const Transform& tfm);
void transform_motion_decompose(DecompMotionTransform *decomp, const MotionTransform *motion, const Transform *mid);
#endif
More information about the Bf-blender-cvs
mailing list