[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [35398] trunk/blender/source/blender: remove unused RegionView3D retopo pointer and set quat printing to const args .
Campbell Barton
ideasman42 at gmail.com
Tue Mar 8 08:31:42 CET 2011
Revision: 35398
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=35398
Author: campbellbarton
Date: 2011-03-08 07:31:42 +0000 (Tue, 08 Mar 2011)
Log Message:
-----------
remove unused RegionView3D retopo pointer and set quat printing to const args.
Modified Paths:
--------------
trunk/blender/source/blender/blenlib/BLI_math_rotation.h
trunk/blender/source/blender/blenlib/intern/math_rotation.c
trunk/blender/source/blender/makesdna/DNA_view3d_types.h
Modified: trunk/blender/source/blender/blenlib/BLI_math_rotation.h
===================================================================
--- trunk/blender/source/blender/blenlib/BLI_math_rotation.h 2011-03-08 03:14:59 UTC (rev 35397)
+++ trunk/blender/source/blender/blenlib/BLI_math_rotation.h 2011-03-08 07:31:42 UTC (rev 35398)
@@ -85,7 +85,7 @@
void mat3_to_quat_is_ok(float q[4], float mat[3][3]);
/* other */
-void print_qt(char *str, float q[4]);
+void print_qt(const char *str, const float q[4]);
/******************************** Axis Angle *********************************/
Modified: trunk/blender/source/blender/blenlib/intern/math_rotation.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/math_rotation.c 2011-03-08 03:14:59 UTC (rev 35397)
+++ trunk/blender/source/blender/blenlib/intern/math_rotation.c 2011-03-08 07:31:42 UTC (rev 35398)
@@ -635,7 +635,7 @@
mul_qt_qtqt(quat, q1, q2);
}
-void print_qt(char *str, float q[4])
+void print_qt(const char *str, const float q[4])
{
printf("%s: %.3f %.3f %.3f %.3f\n", str, q[0], q[1], q[2], q[3]);
}
Modified: trunk/blender/source/blender/makesdna/DNA_view3d_types.h
===================================================================
--- trunk/blender/source/blender/makesdna/DNA_view3d_types.h 2011-03-08 03:14:59 UTC (rev 35397)
+++ trunk/blender/source/blender/makesdna/DNA_view3d_types.h 2011-03-08 07:31:42 UTC (rev 35398)
@@ -41,7 +41,6 @@
struct Base;
struct BoundBox;
struct RenderInfo;
-struct RetopoViewData;
struct bGPdata;
struct SmoothViewStore;
struct wmTimer;
@@ -115,7 +114,6 @@
struct RegionView3D *localvd;
struct RenderInfo *ri;
- struct RetopoViewData *retopo_view_data;
struct ViewDepths *depths;
/* animated smooth view */
More information about the Bf-blender-cvs
mailing list