STEAM-GRUPPE
Blender Source Tools BleST
STEAM-GRUPPE
Blender Source Tools BleST
416
I SPIL
2,328
ONLINE
Grundlagt:
8. november 2013
Alle diskussioner > Help > Trådoplysninger
casual tryhard 27. maj 2019 kl. 16:57
AttributeError: 'Scene' object has no attribute 'update'
Given there are no posts about this, I'd imagine it's only me.
This happens when trying to export to SMD.

BST Version: 2.11.0b1 (github).
Blender 2.80 (5/27/2019 - Windows).

Blender Source Tools: exporting Collection
Traceback (most recent call last):
File "C:\Users\-------\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\io_scene_valvesource\export_smd.py", line 205, in execute
self.exportId(context, id)
File "C:\Users\-------\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\io_scene_valvesource\export_smd.py", line 309, in exportId
bpy.context.scene.update() # actually found a use for this!!
AttributeError: 'Scene' object has no attribute 'update'
Sidst redigeret af casual tryhard; 27. maj 2019 kl. 17:00
Oprindeligt skrevet af Artfunkel:
There have been recent changes to the Blender API which broke the script. Please use Blender 2.79 for now.
< >
Viser 1-4 af 4 kommentarer
Forfatteren af denne tråd har angivet, at dette indlæg besvarer det oprindelige emne.
Artfunkel 28. maj 2019 kl. 11:48 
There have been recent changes to the Blender API which broke the script. Please use Blender 2.79 for now.
Artfunkel 30. maj 2019 kl. 13:39 
I've now pushed fixes to GitHub.
casual tryhard 31. maj 2019 kl. 9:16 
Yep it's fixed now. Thank you :cozyspaceengineersc:
Leonardo 23. aug. 2019 kl. 2:55 
I have the same error in my app... which command in new API is used instead:
bpy.context.scene.update()
???
Thanks for the answer!
< >
Viser 1-4 af 4 kommentarer
Per side: 1530 50

Alle diskussioner > Help > Trådoplysninger
Dato opslået: 27. maj 2019 kl. 16:57
Indlæg: 4