[Bf-blender-cvs] [4831dd5f387] master: UI: Naming and tooltip for the new high-resolution smoke simplify setting.
Pablo Vazquez
noreply at git.blender.org
Fri Mar 8 15:30:53 CET 2019
Commit: 4831dd5f387927da603ad5a137cd7c014677a3f5
Author: Pablo Vazquez
Date: Fri Mar 8 15:30:41 2019 +0100
Branches: master
https://developer.blender.org/rB4831dd5f387927da603ad5a137cd7c014677a3f5
UI: Naming and tooltip for the new high-resolution smoke simplify setting.
* Rename "Use Smoke Highres" to "Use High-resolution Smoke"
* Use 'Display' instead of 'Draw', following the naming conventions in 2.8
* Drop the 'Use' prefix in the UI, a "High-resolution Smoke' checkbox sufficiently communicates what it does.
===================================================================
M release/scripts/startup/bl_ui/properties_render.py
M source/blender/makesrna/intern/rna_scene.c
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py
index 522ed0e13bc..e1f84b7d3bf 100644
--- a/release/scripts/startup/bl_ui/properties_render.py
+++ b/release/scripts/startup/bl_ui/properties_render.py
@@ -632,7 +632,7 @@ class RENDER_PT_simplify_viewport(RenderButtonsPanel, Panel):
col.prop(rd, "simplify_child_particles", text="Max Child Particles")
col = flow.column()
- col.prop(rd, "use_simplify_smoke_highres")
+ col.prop(rd, "use_simplify_smoke_highres", text="High-resolution Smoke")
class RENDER_PT_simplify_render(RenderButtonsPanel, Panel):
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index 70cfa5604d4..349d84d8296 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -5568,7 +5568,7 @@ static void rna_def_scene_render_data(BlenderRNA *brna)
prop = RNA_def_property(srna, "use_simplify_smoke_highres", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_negative_sdna(prop, NULL, "simplify_smoke_ignore_highres", 1);
- RNA_def_property_ui_text(prop, "Use Smoke Highres", "Allow drawing high-res smoke in viewport");
+ RNA_def_property_ui_text(prop, "Use High-resolution Smoke", "Display high-resolution smoke in the viewport");
RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, NULL);
/* Grease Pencil - Simplify Options */
More information about the Bf-blender-cvs
mailing list