Don't show empty "Deprecated" node category menu

This commit is contained in:
Moritz Brückner 2021-10-04 23:56:35 +02:00
parent ea02600d14
commit 7289b95a48
3 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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

View file

@ -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):