[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58485] trunk/blender/source/blender/ editors/mask/mask_add.c: Fix crash in adding a new mask point after subdividing an inactive spline
Sv. Lockal
lockalsash at gmail.com
Sun Jul 21 19:59:36 CEST 2013
Revision: 58485
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58485
Author: lockal
Date: 2013-07-21 17:59:36 +0000 (Sun, 21 Jul 2013)
Log Message:
-----------
Fix crash in adding a new mask point after subdividing an inactive spline
add_vertex_extrude relies on active spline for containing an active point
Modified Paths:
--------------
trunk/blender/source/blender/editors/mask/mask_add.c
Modified: trunk/blender/source/blender/editors/mask/mask_add.c
===================================================================
--- trunk/blender/source/blender/editors/mask/mask_add.c 2013-07-21 17:44:01 UTC (rev 58484)
+++ trunk/blender/source/blender/editors/mask/mask_add.c 2013-07-21 17:59:36 UTC (rev 58485)
@@ -387,6 +387,7 @@
/* TODO - we could pass the spline! */
BKE_mask_layer_shape_changed_add(masklay, BKE_mask_layer_shape_spline_to_index(masklay, spline) + point_index + 1, TRUE, TRUE);
+ masklay->act_spline = spline;
masklay->act_point = new_point;
WM_event_add_notifier(C, NC_MASK | NA_EDITED, mask);
More information about the Bf-blender-cvs
mailing list