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
path: root/source
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2012-09-12 14:54:25 +0400
committerThomas Dinges <blender@dingto.org>2012-09-12 14:54:25 +0400
commitd86f1f67fd3c930085b3599df6d267cba3750b65 (patch)
tree8430520021feaddc6555a7278b6c7f17613f30e4 /source
parent08cbfff67c92409c5654446e54c1f97367f494f8 (diff)
Cycles UI:
* Non-Progressive UI couldn't be displayed if the device was set to GPU, but User Preferences Device was NULL. (for example when opening .blend file on another computer without GPU capabilities) * Fix missing update in the Properties editor, when changing compute_device. This fixes [#32115] OSX and cycles no non-progessive sample input settings appearing in interface.
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_userdef.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index 7f8c6951620..666fa4d7b81 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -3265,6 +3265,7 @@ static void rna_def_userdef_system(BlenderRNA *brna)
RNA_def_property_enum_items(prop, compute_device_type_items);
RNA_def_property_enum_funcs(prop, NULL, NULL, "rna_userdef_compute_device_type_itemf");
RNA_def_property_ui_text(prop, "Compute Device Type", "Device to use for computation (rendering with Cycles)");
+ RNA_def_property_update(prop, NC_SPACE | ND_SPACE_PROPERTIES, NULL);
prop = RNA_def_property(srna, "compute_device", PROP_ENUM, PROP_NONE);
RNA_def_property_flag(prop, PROP_ENUM_NO_CONTEXT);