Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

Commit

Permalink
make sure to have img node
Browse files Browse the repository at this point in the history
  • Loading branch information
Correct-Syntax committed Mar 4, 2021
1 parent 61bf26c commit df3f415
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/GimelStudio/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self, arguments):
wx.Frame.__init__(self, None, title=meta.APP_TITLE, size=(1000, 800))

self._arguments = arguments
self._launchedFromBlender = False
#self._launchedFromBlender = False


# dirname = os.path.expanduser("~/.gimelstudio/blenderaddontemp/")
Expand Down Expand Up @@ -511,8 +511,8 @@ def _SetupDefaultNodes(self):
# pass

# else:
# img_node = self._nodeGraph.AddNode('corenode_image',
# pos=wx.Point(x - 340, y))
img_node = self._nodeGraph.AddNode('corenode_image',
pos=wx.Point(x - 340, y))

if self._arguments.blender != "":
img_node.NodeEditProp(
Expand Down

0 comments on commit df3f415

Please sign in to comment.