mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T99343: Missing RNA_def_property_update for show overlays in UV editor
Reviewed By: jbakker Maniphest Tasks: T99343 Differential Revision: https://developer.blender.org/D15354
This commit is contained in:
parent
0df574b55e
commit
82fc8786ea
1 changed files with 1 additions and 0 deletions
|
|
@ -5298,6 +5298,7 @@ static void rna_def_space_image_overlay(BlenderRNA *brna)
|
|||
prop = RNA_def_property(srna, "show_overlays", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "overlay.flag", SI_OVERLAY_SHOW_OVERLAYS);
|
||||
RNA_def_property_ui_text(prop, "Show Overlays", "Display overlays like UV Maps and Metadata");
|
||||
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_IMAGE, NULL);
|
||||
|
||||
prop = RNA_def_property(srna, "show_grid_background", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "overlay.flag", SI_OVERLAY_SHOW_GRID_BACKGROUND);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue