Commit: 6ea09db7a1e62be0fad18cf2aed9976bc1f7336f Author: Hans Goudey Date: Tue Mar 30 10:03:11 2021 -0500 Branches: master https://developer.blender.org/rB6ea09db7a1e62be0fad18cf2aed9976bc1f7336f
Cleanup: Improve comment =================================================================== M source/blender/editors/object/object_modifier.c =================================================================== diff --git a/source/blender/editors/object/object_modifier.c b/source/blender/editors/object/object_modifier.c index b13c2311dba..b28b7478721 100644 --- a/source/blender/editors/object/object_modifier.c +++ b/source/blender/editors/object/object_modifier.c @@ -1131,13 +1131,15 @@ bool edit_modifier_invoke_properties_with_hover_no_active(bContext *C, } PointerRNA *panel_ptr = UI_region_panel_custom_data_under_cursor(C, event); - if ((panel_ptr == NULL || RNA_pointer_is_null(panel_ptr))) { + if (panel_ptr == NULL || RNA_pointer_is_null(panel_ptr)) { *r_retval = OPERATOR_CANCELLED; return false; } if (!RNA_struct_is_a(panel_ptr->type, &RNA_Modifier)) { - /* Work around multiple operators using the same shortcut. */ + /* Work around multiple operators using the same shortcut. The operators for the other + * stacks in the property editor use the same key, and will not run after these return + * OPERATOR_CANCELLED. */ *r_retval = (OPERATOR_PASS_THROUGH | OPERATOR_CANCELLED); return false; } _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs