Workbench: send right event after shadow_shift changes
authorJeroen Bakker <j.bakker@atmind.nl>
Tue, 15 May 2018 17:47:29 +0000 (19:47 +0200)
committerJeroen Bakker <j.bakker@atmind.nl>
Tue, 15 May 2018 17:47:29 +0000 (19:47 +0200)
source/blender/makesrna/intern/rna_scene.c

index 0084c44ceccecd99c8d077a577a1477cf56c6c81..4f26e7d43a67e485c115ebce6b08074941a1d617 100644 (file)
@@ -5694,7 +5694,7 @@ static void rna_def_scene_display(BlenderRNA *brna)
        RNA_def_property_range(prop, 0.0f, 1.0f);
        RNA_def_property_ui_range(prop, 0.00f, 1.0f, 1, 2);
        RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
-       RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
+       RNA_def_property_update(prop, NC_SCENE | NA_EDITED, "rna_Scene_set_update");
 
 }