[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27699] trunk/blender/source/blender/ editors/curve/editcurve.c: fix: Curve point was added somewhere outside the universe
Andrea Weikert
elubie at gmx.net
Tue Mar 23 21:41:19 CET 2010
Revision: 27699
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27699
Author: elubie
Date: 2010-03-23 21:41:19 +0100 (Tue, 23 Mar 2010)
Log Message:
-----------
fix: Curve point was added somewhere outside the universe
- MSVC needed location initialized to zero.
Modified Paths:
--------------
trunk/blender/source/blender/editors/curve/editcurve.c
Modified: trunk/blender/source/blender/editors/curve/editcurve.c
===================================================================
--- trunk/blender/source/blender/editors/curve/editcurve.c 2010-03-23 20:04:05 UTC (rev 27698)
+++ trunk/blender/source/blender/editors/curve/editcurve.c 2010-03-23 20:41:19 UTC (rev 27699)
@@ -3469,7 +3469,7 @@
{
RegionView3D *rv3d= CTX_wm_region_view3d(C);
ViewContext vc;
- float location[3];
+ float location[3] = {0.0f, 0.0f, 0.0f};
short mval[2];
if(rv3d && !RNA_property_is_set(op->ptr, "location")) {
More information about the Bf-blender-cvs
mailing list