ubisoft / shotmanager

Shot Manager is a Blender add-on that introduces a true shot entity in Blender scenes, as well as a wide and powerful set of tools to build and edit sequences in real-time directly in the 3D context.
GNU General Public License v3.0
199 stars 30 forks source link

Error when adding Video Editing Tab #29

Closed j2l closed 1 year ago

j2l commented 2 years ago

Infos on the context

Describe the bug Error panel popping out when adding the Video Editing tab in Blender.

-------------------------------------------------------

New file loaded

Initializing Shot Manager in the current scene (Scene)...                                                                                    [./config/sm_logging.py:222]

Initializing Shot Manager Preferences...

Initializing new take with name Main Take...

REFRESH JIGGLE LIST
anim drop
Python: [ERROR] mpfb.init ..............................: Unhandled crash 
  File "/home/pm/.config/blender/2.93/scripts/addons/shotmanager/overlay_tools/interact_shots_stack/shots_stack.py", line 248, in modal
    if config.gRedrawShotStack or event_handled:

local variable 'event_handled' referenced before assignment

Traceback (most recent call last):
  File "/home/pm/.config/blender/2.93/scripts/addons/shotmanager/overlay_tools/interact_shots_stack/shots_stack.py", line 248, in modal
    if config.gRedrawShotStack or event_handled:
UnboundLocalError: local variable 'event_handled' referenced before assignment

location: <unknown location>:-1
Error: Python: [ERROR] mpfb.init ..............................: Unhandled crash 
  File "/home/pm/.config/blender/2.93/scripts/addons/shotmanager/overlay_tools/interact_shots_stack/shots_stack.py", line 248, in modal
    if config.gRedrawShotStack or event_handled:

local variable 'event_handled' referenced before assignment

Traceback (most recent call last):
  File "/home/pm/.config/blender/2.93/scripts/addons/shotmanager/overlay_tools/interact_shots_stack/shots_stack.py", line 248, in modal
    if config.gRedrawShotStack or event_handled:
UnboundLocalError: local variable 'event_handled' referenced before assignment

location: <unknown location>:-1

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior no error :smile:

Screenshots Screenshot from 2022-06-22 10-01-56

werwack commented 2 years ago

Can you check with this version please? I believe it is the same issue than the other one you repported: V2.0.225