Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-05-22 17:29:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-22 17:35:37 +0300
commit8ec3b5b7c6d5db1fd8f98c0d54d1dc729ff19be2 (patch)
tree05e966e9ee5632cb869043cb376819d0277e3acb /source/blender/makesrna/intern/rna_internal.h
parent8d20d6b2eb40c5a54863e33784eabb3fb6c8d012 (diff)
Fix T64679: Missing dirty preferences tag
Use a default update function for user preferences that tags dirty and redraws (if changed). This avoids relying on button changes which fail in some cases.
Diffstat (limited to 'source/blender/makesrna/intern/rna_internal.h')
-rw-r--r--source/blender/makesrna/intern/rna_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_internal.h b/source/blender/makesrna/intern/rna_internal.h
index 0ced20d4d42..2659cdf227e 100644
--- a/source/blender/makesrna/intern/rna_internal.h
+++ b/source/blender/makesrna/intern/rna_internal.h
@@ -351,6 +351,10 @@ bool rna_GPencil_datablocks_obdata_poll(struct PointerRNA *ptr, const struct Poi
char *rna_TextureSlot_path(struct PointerRNA *ptr);
char *rna_Node_ImageUser_path(struct PointerRNA *ptr);
+/* Set U.is_dirty and redraw. */
+void rna_userdef_is_dirty_update_impl(void);
+void rna_userdef_is_dirty_update(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr);
+
/* API functions */
void RNA_api_action(StructRNA *srna);