Cleanup: double quotes for non-enum strings
Also use back-ticks for code-references in comments.
This commit is contained in:
@@ -19,7 +19,7 @@ class MyCustomTree(NodeTree):
|
||||
# Custom socket type
|
||||
class MyCustomSocket(NodeSocket):
|
||||
# Description string
|
||||
'''Custom node socket type'''
|
||||
"""Custom node socket type"""
|
||||
# Optional identifier string. If not explicitly defined, the python class name is used.
|
||||
bl_idname = 'CustomSocketType'
|
||||
# Label for nice name display
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# This script defines functions to be used directly in driver expressions to
|
||||
# extend the built-in set of python functions.
|
||||
#
|
||||
# This can be executed on manually or set to 'Register' to
|
||||
# This can be executed on manually or set to "Register" to
|
||||
# initialize the functions on file load.
|
||||
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ class MyPanel(bpy.types.Panel):
|
||||
bl_idname = "SCENE_PT_list_demo"
|
||||
bl_space_type = 'VIEW_3D'
|
||||
bl_region_type = 'UI'
|
||||
bl_category = 'My Category'
|
||||
bl_category = "My Category"
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
|
||||
Reference in New Issue
Block a user