diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2015-06-13 20:04:39 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2015-06-13 20:09:22 +0300 |
commit | 9326820a1baa120bbd4da5f20baca16460bd32c0 (patch) | |
tree | 96a6c8e3f22f7eeb943eb7102906cc00a1a6f4fc /source/blender/makesrna | |
parent | e944af67f7eb42ed6851718205a09dded26c8b3a (diff) |
Multi-View: Show multiview image properties only in the places where
they are supported
aka, remove multiview properties from the texture panel, the textures
node (image), and any other parts.
The multiview options are now to be explicitly set in the image template
in order to have them available in the respective panel
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_ui_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_ui_api.c b/source/blender/makesrna/intern/rna_ui_api.c index cf387644d66..d75966f6599 100644 --- a/source/blender/makesrna/intern/rna_ui_api.c +++ b/source/blender/makesrna/intern/rna_ui_api.c @@ -773,6 +773,7 @@ void RNA_api_ui_layout(StructRNA *srna) parm = RNA_def_pointer(func, "image_user", "ImageUser", "", ""); RNA_def_property_flag(parm, PROP_REQUIRED | PROP_RNAPTR | PROP_NEVER_NULL); RNA_def_boolean(func, "compact", false, "", "Use more compact layout"); + RNA_def_boolean(func, "multiview", false, "", "Expose Multi-View options"); func = RNA_def_function(srna, "template_image_settings", "uiTemplateImageSettings"); RNA_def_function_ui_description(func, "User interface for setting image format options"); |