[Bf-blender-cvs] [267c7b0] master: Fix "View All" operation in image space not available with locked interface
Sergey Sharybin
noreply at git.blender.org
Mon Jun 8 11:29:57 CEST 2015
Commit: 267c7b098d1312b6a0d71eed877f6d27b182c0b1
Author: Sergey Sharybin
Date: Sun Jun 7 17:13:28 2015 +0200
Branches: master
https://developer.blender.org/rB267c7b098d1312b6a0d71eed877f6d27b182c0b1
Fix "View All" operation in image space not available with locked interface
===================================================================
M source/blender/editors/space_image/image_ops.c
===================================================================
diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c
index d9f89bf..ca2f19c 100644
--- a/source/blender/editors/space_image/image_ops.c
+++ b/source/blender/editors/space_image/image_ops.c
@@ -720,6 +720,9 @@ void IMAGE_OT_view_all(wmOperatorType *ot)
ot->exec = image_view_all_exec;
ot->poll = space_image_main_area_poll;
+ /* flags */
+ ot->flag = OPTYPE_LOCK_BYPASS;
+
/* properties */
prop = RNA_def_boolean(ot->srna, "fit_view", 0, "Fit View", "Fit frame to the viewport");
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
More information about the Bf-blender-cvs
mailing list