Don't show empty "Deprecated" node category menu
This commit is contained in:
parent
ea02600d14
commit
7289b95a48
|
@ -7,6 +7,7 @@ class QuaternionNode(ArmLogicTreeNode):
|
|||
bl_idname = 'LNQuaternionNode'
|
||||
bl_label = 'Quaternion'
|
||||
bl_description = 'Create a quaternion variable (transported through a vector socket)'
|
||||
arm_category = 'Variable'
|
||||
arm_section = 'quaternions'
|
||||
arm_version = 2 # deprecate
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ class SeparateQuaternionNode(ArmLogicTreeNode):
|
|||
bl_idname = 'LNSeparateQuaternionNode'
|
||||
bl_label = "Separate Quaternion (do not use: quaternions sockets have been phased out entirely)"
|
||||
bl_description = "Separate a quaternion object (transported through a vector socket) into its four compoents."
|
||||
arm_category = 'Math'
|
||||
arm_section = 'quaternions'
|
||||
arm_version = 2 # deprecate
|
||||
|
||||
|
|
|
@ -9,7 +9,6 @@ class SurfaceCoordsNode(ArmLogicTreeNode):
|
|||
bl_description = "Please use the \"Get Touch Movement\" and \"Get Touch Location\" nodes instead"
|
||||
arm_category = 'Input'
|
||||
arm_section = 'surface'
|
||||
arm_is_obsolete = 'is_obsolete'
|
||||
arm_version = 2
|
||||
|
||||
def arm_init(self, context):
|
||||
|
|
Loading…
Reference in a new issue