Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-03-22 13:13:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-22 13:13:42 +0300
commitd485a54b599610de09e35e97d3844df3b9695575 (patch)
tree2f7682df9311de838d9006254ce95a5f2246df03 /source/blender/editors/mesh
parentcfc904f3f1a00556032e12bb72395e261574669b (diff)
crash fix for Normalize All VGroups on a lattice without vgroups (probably other tools too - bug was in ED_vgroup_give_parray).
Also fix for crashes running operators in bg mode by using setting poll functions: WM_OT_search_menu, MESH_OT_extrude_repeat, SCREEN_OT_new
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_tools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c
index b4378829456..68a76f5363d 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -944,7 +944,7 @@ void MESH_OT_extrude_repeat(wmOperatorType *ot)
/* api callbacks */
ot->exec= extrude_repeat_mesh;
- ot->poll= ED_operator_editmesh;
+ ot->poll= ED_operator_editmesh_region_view3d;
/* flags */
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;