Skip to content

Commit

Permalink
Merge pull request #3096 from t3du/OpenNodeLinks
Browse files Browse the repository at this point in the history
fix open node links
  • Loading branch information
luboslenco authored Dec 9, 2024
2 parents 85fc709 + 99fe8b5 commit 9435ec7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions armory/blender/arm/nodes_logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def execute(self, context):
version = arm.utils.get_last_commit()
if version == '':
version = 'main'
webbrowser.open(f'https://github.com/armory3d/armory/tree/{version}/Sources/armory/logicnode/{name}.hx')
webbrowser.open(f'https://github.com/armory3d/armory/blob/{version}/armory/Sources/armory/logicnode/{name}.hx')
return{'FINISHED'}


Expand All @@ -282,7 +282,7 @@ def execute(self, context):
if version == '':
version = 'main'
rel_path = node.__module__.replace('.', '/')
webbrowser.open(f'https://github.com/armory3d/armory/tree/{version}/blender/{rel_path}.py')
webbrowser.open(f'https://github.com/armory3d/armory/blob/{version}/armory/blender/{rel_path}.py')
return{'FINISHED'}


Expand Down

0 comments on commit 9435ec7

Please sign in to comment.