[Bf-blender-cvs] [786ff13540b] master: Fix UI string without title-case

Julian Eisel noreply at git.blender.org
Wed May 6 23:57:10 CEST 2020


Commit: 786ff13540ba8d4208fe4329b84b6d10f1fba91c
Author: Julian Eisel
Date:   Wed May 6 23:55:14 2020 +0200
Branches: master
https://developer.blender.org/rB786ff13540ba8d4208fe4329b84b6d10f1fba91c

Fix UI string without title-case

When using Preferences->Lights->Install, the type option in the operator
properties would show as "type", but should be "Type".

===================================================================

M	release/scripts/startup/bl_operators/userpref.py

===================================================================

diff --git a/release/scripts/startup/bl_operators/userpref.py b/release/scripts/startup/bl_operators/userpref.py
index a4c19d5a8da..2e14df1920f 100644
--- a/release/scripts/startup/bl_operators/userpref.py
+++ b/release/scripts/startup/bl_operators/userpref.py
@@ -984,6 +984,7 @@ class PREFERENCES_OT_studiolight_install(Operator):
         options={'HIDDEN'},
     )
     type: EnumProperty(
+        name="Type",
         items=(
             ('MATCAP', "MatCap", ""),
             ('WORLD', "World", ""),



More information about the Bf-blender-cvs mailing list