makehumancommunity / makehuman-plugin-for-blender

!DEPRECATED! Plugin for makehuman and related programs (it has been replaced with MPFB2)
https://static.makehumancommunity.org/mpfb.html
220 stars 56 forks source link

Scene object has no attribute update #48

Closed j2l closed 5 years ago

j2l commented 5 years ago

It worked in alpha1 but seems broken now:

armature exported units is DECIMETERS, headTail: -0.8399094343185425, footTail: -8.53725528717041
Update pose
Traceback (most recent call last):
  File "C:\Users\nobody\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\MH_Community\operators\posesync.py", line 22, in execute
    SyncPose()
  File "C:\Users\nobody\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\MH_Community\mh_sync\sync_pose.py", line 22, in __init__
    self.executeJsonCall()
  File "C:\Users\nobody\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\MH_Community\mh_sync\sync_ops.py", line 18, in executeJsonCall
    self.callback(json_obj)
  File "C:\Users\nobody\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\MH_Community\mh_sync\sync_pose.py", line 43, in callback
    self.apply(bone, json_obj, bpy.context.scene.MhNoLocation)
  File "C:\Users\nobody\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\MH_Community\mh_sync\sync_pose.py", line 62, in apply
    bpy.context.scene.update()
AttributeError: 'Scene' object has no attribute 'update'

location: <unknown location>:-1

location: <unknown location>:-1

Or I missed something

Palmer-JC commented 5 years ago

This was due to a last minute change to the Blender 2.80 API. Latest should have all API issues for Blender 2.80 taken care of, plus:

j2l commented 5 years ago

That is good news! Thanks, you made my day :)

j2l commented 5 years ago

@Palmer-JC thanks! (I'm not sure comments on closed tickets are notified)