UI: Naming and tooltip for the new high-resolution smoke simplify setting.
authorPablo Vazquez <contact@pablovazquez.art>
Fri, 8 Mar 2019 14:30:41 +0000 (15:30 +0100)
committerPablo Vazquez <contact@pablovazquez.art>
Fri, 8 Mar 2019 14:30:51 +0000 (15:30 +0100)
* 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.

release/scripts/startup/bl_ui/properties_render.py
source/blender/makesrna/intern/rna_scene.c

index 522ed0e..e1f84b7 100644 (file)
@@ -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):
index 70cfa56..349d84d 100644 (file)
@@ -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 */