[Bf-blender-cvs] [f4cf845] master: Fix T40877: Bezier Hook to New Object does not work properly

Sergey Sharybin noreply at git.blender.org
Mon Jul 7 09:44:34 CEST 2014


Commit: f4cf84507b4653c317f7df581f600175566cabcf
Author: Sergey Sharybin
Date:   Mon Jul 7 13:43:43 2014 +0600
https://developer.blender.org/rBf4cf84507b4653c317f7df581f600175566cabcf

Fix T40877: Bezier Hook to New Object does not work properly

===================================================================

M	source/blender/editors/object/object_hook.c

===================================================================

diff --git a/source/blender/editors/object/object_hook.c b/source/blender/editors/object/object_hook.c
index 6407d2e..afff367 100644
--- a/source/blender/editors/object/object_hook.c
+++ b/source/blender/editors/object/object_hook.c
@@ -331,6 +331,8 @@ static bool object_hook_index_array(Scene *scene, Object *obedit,
 		}
 		case OB_CURVE:
 		case OB_SURF:
+			load_editNurb(obedit);
+			make_editNurb(obedit);
 			return return_editcurve_indexar(obedit, r_tot, r_indexar, r_cent);
 		case OB_LATTICE:
 		{




More information about the Bf-blender-cvs mailing list