Fix operator descriptions ending in '.'
By default, blender will take the operator class description comment as the description for the UI tooltip, which should not have a trailing dot. I duplicated the descriptions into an explicit bl_description to have a clear distinction between user UI and coder comment, but simply removing the dot from the comment would also work
This commit is contained in:
parent
abcd8b0168
commit
ccedb7cbb1
@ -361,6 +361,7 @@ class PILLAR_OT_subscribe(Operator):
|
|||||||
"""Opens a browser to subscribe the user to the Cloud."""
|
"""Opens a browser to subscribe the user to the Cloud."""
|
||||||
bl_idname = 'pillar.subscribe'
|
bl_idname = 'pillar.subscribe'
|
||||||
bl_label = 'Subscribe to the Cloud'
|
bl_label = 'Subscribe to the Cloud'
|
||||||
|
bl_description = "Opens a page in a web browser to subscribe to the Blender Cloud"
|
||||||
|
|
||||||
def execute(self, context):
|
def execute(self, context):
|
||||||
import webbrowser
|
import webbrowser
|
||||||
|
Reference in New Issue
Block a user