Skip to content

Commit

Permalink
Merge pull request #2961 from MoritzBrueckner/hotfix-python-indentation
Browse files Browse the repository at this point in the history
[Hotfix/release broken] Fix Python indentation error
  • Loading branch information
luboslenco committed Nov 1, 2023
2 parents 2b6eb11 + 0d1101b commit b658534
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions blender/arm/logicnode/math/LN_world_to_screen_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class WorldToScreenSpaceNode(ArmLogicTreeNode):
arm_section = 'matrix'
arm_version = 2

def remove_extra_inputs(self, context):
def remove_extra_inputs(self, context):
while len(self.inputs) > 1:
self.inputs.remove(self.inputs[-1])
if self.property0 == 'Selected Camera':
Expand All @@ -24,12 +24,12 @@ def arm_init(self, context):
self.add_input('ArmVectorSocket', 'World')

self.add_output('ArmVectorSocket', 'Screen')

def draw_buttons(self, context, layout):
layout.prop(self, 'property0')

def get_replacement_node(self, node_tree: bpy.types.NodeTree):
if self.arm_version not in (0, 1):
raise LookupError()

return NodeReplacement.Identity(self)

0 comments on commit b658534

Please sign in to comment.