diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-26 19:20:26 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-26 19:20:26 +0400 |
commit | 6d2cd240108caea9c8c19b2f413f28384cf06675 (patch) | |
tree | 4706ee3e30b167411bda9d4a93985755c96b3ff9 /source/blender/editors/mesh | |
parent | ec6c3f632ede3d9bdbc75fec19d6a0b2d49a646c (diff) |
fix memory leak in validating mesh and remove unneeded knife operator settings store.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/editmesh_knife.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/editors/mesh/editmesh_knife.c b/source/blender/editors/mesh/editmesh_knife.c index 670b06887eb..b3bc0a1ffa9 100644 --- a/source/blender/editors/mesh/editmesh_knife.c +++ b/source/blender/editors/mesh/editmesh_knife.c @@ -2721,10 +2721,6 @@ static void knifetool_exit(bContext *C, wmOperator *op) WM_cursor_restore(CTX_wm_window(C)); - /* remember setting for later */ - RNA_boolean_set(op->ptr, "use_occlude_geometry", !kcd->cut_through); - WM_operator_last_properties_store(op); /* XXX - this is clunky but modal ops wont do this automatic */ - /* deactivate the extra drawing stuff in 3D-View */ ED_region_draw_cb_exit(kcd->ar->type, kcd->draw_handle); |