diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-10-16 14:54:29 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-10-16 14:54:29 +0300 |
commit | 5c961b3b582f77f9f7e9fa99476217753c424d32 (patch) | |
tree | 771e30f6c5c6a0fda6355165d8e26d6ccf1ff572 | |
parent | b3c469153efe0e3f4f36a6bf6667d47727a5a743 (diff) |
Revert "Fix T62325, T91990: changing Cycles presets does not update the Blender UI"
This reverts commit 1b6752e599b5ed70823d09f90c418e448516d4b4. It is causing
constant redraws due to some ID properties seemingly being edited on every
redraw.
-rw-r--r-- | source/blender/makesrna/intern/rna_access.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index 88c3db0c65b..40b5f3ed1da 100644 --- a/source/blender/makesrna/intern/rna_access.c +++ b/source/blender/makesrna/intern/rna_access.c @@ -2199,11 +2199,7 @@ static void rna_property_update( * but this isn't likely to be a performance problem. */ bool RNA_property_update_check(PropertyRNA *prop) { - return - /* Always update ID properties. */ - (prop->magic != RNA_MAGIC || (prop->flag & PROP_IDPROPERTY)) || - /* For native RNA properties only update if there is a callback or notifier. */ - (prop->update || prop->noteflag); + return (prop->magic != RNA_MAGIC || prop->update || prop->noteflag); } void RNA_property_update(bContext *C, PointerRNA *ptr, PropertyRNA *prop) |