(fixed a few typos and docstrings in relation to the previous commit)

This commit is contained in:
niacdoial 2020-09-27 17:17:22 +02:00
parent 24313d65a4
commit 482a340c77
9 changed files with 18 additions and 15 deletions

View file

@ -4,8 +4,9 @@ from bpy.types import Node, NodeSocket
from arm.logicnode.arm_nodes import *
class GetMouseLockNode(ArmLogicTreeNode):
"""Deprecated. It is recommended to use the 'Get Cursor State' node instead."""
bl_idname = 'LNGetMouseLockNode'
bl_label = 'Get Mouse Lock (Depreciated)'
bl_label = 'Get Mouse Lock (Deprecated)'
bl_description = "Please use the \"Get Cursor State\" node instead"
bl_icon = 'ERROR'
arm_version = 2

View file

@ -4,9 +4,9 @@ from bpy.types import Node, NodeSocket
from arm.logicnode.arm_nodes import *
class GetMouseVisibleNode(ArmLogicTreeNode):
"""Deprecated. Is recommended to use 'Get Cursor State' node instead."""
"""Deprecated. It is recommended to use the 'Get Cursor State' node instead."""
bl_idname = 'LNGetMouseVisibleNode'
bl_label = 'Get Mouse Visible (Depreciated)'
bl_label = 'Get Mouse Visible (Deprecated)'
bl_description = "Please use the \"Get Cursor State\" node instead"
bl_icon='ERROR'
arm_version = 2

View file

@ -1,9 +1,9 @@
from arm.logicnode.arm_nodes import *
class MouseCoordsNode(ArmLogicTreeNode):
"""Deprecated. Is recommended to use 'Get Cursor Location' and 'Get Mouse Movement' nodes instead."""
"""Deprecated. It is recommended to use 'Get Cursor Location' node and the 'Get Mouse Movement' node instead."""
bl_idname = 'LNMouseCoordsNode'
bl_label = 'Mouse Coords (Depreciated)'
bl_label = 'Mouse Coords (Deprecated)'
bl_description = "Please use the \"Get Cursor Location\" and \"Get Mouse Movement\" nodes instead"
bl_icon = 'ERROR'
arm_version = 2

View file

@ -1,8 +1,9 @@
from arm.logicnode.arm_nodes import *
class OnGamepadNode(ArmLogicTreeNode):
"""Deprecated. It is recommended to use the 'Gamepad' node instead."""
bl_idname = 'LNOnGamepadNode'
bl_label = "On Gamepad (Depreciated)"
bl_label = "On Gamepad (Deprecated)"
bl_description = "Please use the \"Gamepad\" node instead"
bl_icon = 'ERROR'
arm_version = 2

View file

@ -1,9 +1,9 @@
from arm.logicnode.arm_nodes import *
class OnKeyboardNode(ArmLogicTreeNode):
"""Deprecated. Is recommended to use 'Keyboard' node instead."""
"""Deprecated. It is recommended to use the 'Keyboard' node instead."""
bl_idname = 'LNOnKeyboardNode'
bl_label = "On Keyboard (Depreciated)"
bl_label = "On Keyboard (Deprecated)"
bl_descrition = "Please use the \"Keyboard\" node instead"
bl_icon = 'ERROR'
arm_version = 2

View file

@ -1,8 +1,9 @@
from arm.logicnode.arm_nodes import *
class OnMouseNode(ArmLogicTreeNode):
"""Deprecated. It is recommended to use the 'Mouse' node instead."""
bl_idname = 'LNOnMouseNode'
bl_label = "On Mouse (Depreciated)"
bl_label = "On Mouse (Deprecated)"
bl_description = "Please use the \"Mouse\" node instead"
bl_icon = 'ERROR'
arm_version = 2

View file

@ -1,9 +1,9 @@
from arm.logicnode.arm_nodes import *
class RotateObjectAroundAxisNode(ArmLogicTreeNode):
"""Use to rotate an object around an axis. Deprecated."""
"""Deprecated. It is recommended to use the 'Rotate Object' node instead."""
bl_idname = 'LNRotateObjectAroundAxisNode'
bl_label = 'Rotate Object Around Axis (Depreciated)'
bl_label = 'Rotate Object Around Axis (Deprecated)'
bl_description = "Please use the \"Rotate Object\" node instead"
bl_icon = 'ERROR'
arm_version=2

View file

@ -1,9 +1,9 @@
from arm.logicnode.arm_nodes import *
class SetMouseLockNode(ArmLogicTreeNode):
"""Deprecated. Is recommended to use 'Set Cursor State' node instead."""
"""Deprecated. It is recommended to use the 'Set Cursor State' node instead."""
bl_idname = 'LNSetMouseLockNode'
bl_label = 'Set Mouse Lock (Depreciated)'
bl_label = 'Set Mouse Lock (Deprecated)'
bl_description = "Please use the \"Set Cursor State\" node instead"
bl_icon = 'ERROR'
arm_version = 2

View file

@ -1,9 +1,9 @@
from arm.logicnode.arm_nodes import *
class ShowMouseNode(ArmLogicTreeNode):
"""Deprecated. Is recommended to use 'Set Cursor State' node instead."""
"""Deprecated. It is recommended to use the 'Set Cursor State' node instead."""
bl_idname = 'LNShowMouseNode'
bl_label = "Set Mouse Visible (Depreciated)"
bl_label = "Set Mouse Visible (Deprecated)"
bl_description = "Please use the \"Set Cursor State\" node instead"
bl_icon = 'ERROR'
arm_version = 2