diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-29 01:45:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-29 01:45:47 +0300 |
commit | 98a7a11e556e020265c4ca8d54e9609e9e86631c (patch) | |
tree | f6eaef175145fc9b446395eb7cafd634b0eaee2e | |
parent | 2b9cdd5ebdfc523dbea96cf536914f8ba8b8f2c7 (diff) |
bugfix [#20091] Crash when starting render on meta-edit mode
note: EM_DO_UNDO wasnt used because EM_FREEDATA wasnt set
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index 456671b3d75..4a002088c3d 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -3014,7 +3014,7 @@ static int screen_render_invoke(bContext *C, wmOperator *op, wmEvent *event) multires_force_update(CTX_data_active_object(C)); /* get editmode results */ - ED_object_exit_editmode(C, EM_DO_UNDO); /* 0 = does not exit editmode */ + ED_object_exit_editmode(C, EM_FREEDATA|EM_DO_UNDO); /* 0 = does not exit editmode */ // store spare // get view3d layer, local layer, make this nice api call to render |