-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Describe the bug
Not sure how to describe this so ill do my best. i also recorded a video for more clarity. Sometimes but not always when shift+right clicking a flat building to change the length AFTER doing the same action to another flat building, the program crashes.
Reproduction Steps
Expected behavior
I thought I'd be able to change the length of the second building as well.
Attachments
First, here's the traceback.
Traceback (most recent call last):
File "C:\Panda3D-1.11.0-x64\direct\showbase\EventManager.py", line 50, in eventLoopTask
self.doEvents()
File "C:\Panda3D-1.11.0-x64\direct\showbase\EventManager.py", line 44, in doEvents
processFunc(dequeueFunc())
File "C:\Panda3D-1.11.0-x64\direct\showbase\EventManager.py", line 100, in processEvent
messenger.send(eventName, paramList)
File "C:\Panda3D-1.11.0-x64\direct\showbase\Messenger.py", line 335, in send
self.__dispatch(acceptorDict, event, sentArgs, foundWatch)
File "C:\Panda3D-1.11.0-x64\direct\showbase\Messenger.py", line 420, in __dispatch
result = method (*(extraArgs + sentArgs))
File "C:\Panda3D-1.11.0-x64\direct\directtools\DirectSession.py", line 584, in inputHandler
messenger.send('DIRECT-mouse3', sentArgs = [modifiers])
File "C:\Panda3D-1.11.0-x64\direct\showbase\Messenger.py", line 335, in send
self.__dispatch(acceptorDict, event, sentArgs, foundWatch)
File "C:\Panda3D-1.11.0-x64\direct\showbase\Messenger.py", line 420, in __dispatch
result = method (*(extraArgs + sentArgs))
File "C:\OpenLevelEditor\toontown\leveleditor\LevelEditor.py", line 1864, in levelHandleMouse3
if menuMode is None:
UnboundLocalError: local variable 'menuMode' referenced before assignment
:task(error): Exception occurred in PythonTask eventManager
Traceback (most recent call last):
File "C:\Panda3D-1.11.0-x64\python\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Panda3D-1.11.0-x64\python\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\OpenLevelEditor\ttle.py", line 263, in <module>
ToontownLevelEditor().run()
File "C:\Panda3D-1.11.0-x64\direct\showbase\ShowBase.py", line 3339, in run
self.taskMgr.run()
File "C:\Panda3D-1.11.0-x64\direct\task\Task.py", line 546, in run
self.step()
File "C:\Panda3D-1.11.0-x64\direct\task\Task.py", line 497, in step
self.mgr.poll()
File "C:\Panda3D-1.11.0-x64\direct\showbase\EventManager.py", line 50, in eventLoopTask
self.doEvents()
File "C:\Panda3D-1.11.0-x64\direct\showbase\EventManager.py", line 44, in doEvents
processFunc(dequeueFunc())
File "C:\Panda3D-1.11.0-x64\direct\showbase\EventManager.py", line 100, in processEvent
messenger.send(eventName, paramList)
File "C:\Panda3D-1.11.0-x64\direct\showbase\Messenger.py", line 335, in send
self.__dispatch(acceptorDict, event, sentArgs, foundWatch)
File "C:\Panda3D-1.11.0-x64\direct\showbase\Messenger.py", line 420, in __dispatch
result = method (*(extraArgs + sentArgs))
File "C:\Panda3D-1.11.0-x64\direct\directtools\DirectSession.py", line 584, in inputHandler
messenger.send('DIRECT-mouse3', sentArgs = [modifiers])
File "C:\Panda3D-1.11.0-x64\direct\showbase\Messenger.py", line 335, in send
self.__dispatch(acceptorDict, event, sentArgs, foundWatch)
File "C:\Panda3D-1.11.0-x64\direct\showbase\Messenger.py", line 420, in __dispatch
result = method (*(extraArgs + sentArgs))
File "C:\OpenLevelEditor\toontown\leveleditor\LevelEditor.py", line 1864, in levelHandleMouse3
if menuMode is None:
UnboundLocalError: local variable 'menuMode' referenced before assignment
:display: Closing wglGraphicsWindowHere's my DNA file if you need it, its donalds_dreamland_9300.dna, it has custom models so i link to repo.
System Info
Microsoft Windows 10 Home Version 10.0.19045 Build 19045
Paste the command line used to run the app (by default this is in start.bat)
Sorry, im a bit of a dumbdumb and not sure what this means, do you mean what i have in run.bat?
"C:\Panda3D-1.11.0-x64/python/python.exe" -m pip install -r requirements.txt
:top
"C:\Panda3D-1.11.0-x64/python/python.exe" -m ttle --hoods DL --server online
pause
goto top
Specify the source of the resource files you are using (e.g. OpenToontown, Toontown Infinite, Corporate Clash)
Specify a precise version of Panda3D. If possible link to the latest commit in your build of Panda3D. Simply saying 1.11.0 does not help, since 1.11.0 is still in development. If you are using the Panda3D installation included in the readme, please specify that.
Using the 64bit Panda3d version provided at the Open Toontown README file
Checklist
- Did you read the entirety of the readme?
- Did you check for duplicate issues?
this is prolly just something i did wrong but i wanted to post here just to see if anyone can help or if anyone else has the same issue. thank you!