triazo / immersive_scaler

VRChat correct proportions, made easy in blender.
MIT License
122 stars 6 forks source link

Hip Fix error #14

Closed untuned closed 1 year ago

untuned commented 2 years ago
Traceback (most recent call last):
  File "C:\Users\untun\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\immersive_scaler\operations.py", line 659, in execute
    shrink_hips()
  File "C:\Users\untun\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\immersive_scaler\operations.py", line 575, in shrink_hips
    bpy.ops.object.mode_set(mode='EDIT', toggle = False)
  File "N:\Program Files (x86)\Steam\steamapps\common\Blender\3.2\scripts\modules\bpy\ops.py", line 115, in __call__
    ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Operator bpy.ops.object.mode_set.poll() Context missing active object
Error: Python: Traceback (most recent call last):
  File "C:\Users\untun\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\immersive_scaler\operations.py", line 659, in execute
    shrink_hips()
  File "C:\Users\untun\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\immersive_scaler\operations.py", line 575, in shrink_hips
    bpy.ops.object.mode_set(mode='EDIT', toggle = False)
  File "N:\Program Files (x86)\Steam\steamapps\common\Blender\3.2\scripts\modules\bpy\ops.py", line 115, in __call__
    ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Operator bpy.ops.object.mode_set.poll() Context missing active object
triazo commented 1 year ago

Closing since I haven't been able to reproduce and the code pertaining to this error was redone in the latest update.