Page MenuHome

fix37253.patch

fix37253.patch

Index: source/blender/editors/interface/interface.c
===================================================================
--- source/blender/editors/interface/interface.c (revision 61007)
+++ source/blender/editors/interface/interface.c (working copy)
@@ -1980,6 +1980,7 @@
if (type == PROP_STRING) {
/* RNA string */
RNA_property_string_set(&but->rnapoin, but->rnaprop, str);
+ RNA_property_update(C, &but->rnapoin, but->rnaprop);
return true;
}
else if (type == PROP_POINTER) {
@@ -1989,14 +1990,17 @@
if (str == NULL || str[0] == '\0') {
RNA_property_pointer_set(&but->rnapoin, but->rnaprop, PointerRNA_NULL);
+ RNA_property_update(C, &but->rnapoin, but->rnaprop);
return true;
}
else {
ptr = but->rnasearchpoin;
prop = but->rnasearchprop;
- if (prop && RNA_property_collection_lookup_string(&ptr, prop, str, &rptr))
+ if (prop && RNA_property_collection_lookup_string(&ptr, prop, str, &rptr)) {
RNA_property_pointer_set(&but->rnapoin, but->rnaprop, rptr);
+ RNA_property_update(C, &but->rnapoin, but->rnaprop);
+ }
return true;
}
@@ -2007,6 +2011,7 @@
int value;
if (RNA_property_enum_value(but->block->evil_C, &but->rnapoin, but->rnaprop, str, &value)) {
RNA_property_enum_set(&but->rnapoin, but->rnaprop, value);
+ RNA_property_update(C, &but->rnapoin, but->rnaprop);
return true;
}
return false;

File Metadata

Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
cb/13/2ec8be5092ef4f68176a10c0f582

Event Timeline