STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
312
IN-GAME
2,001
ONLINE
Founded
8 November, 2013
All Discussions > Help > Topic Details
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'
Last edited by casual tryhard; 27 May, 2019 @ 5:00pm
Originally posted by Artfunkel:
There have been recent changes to the Blender API which broke the script. Please use Blender 2.79 for now.
< >
Showing 1-4 of 4 comments
The author of this thread has indicated that this post answers the original topic.
Artfunkel 28 May, 2019 @ 11:48am 
There have been recent changes to the Blender API which broke the script. Please use Blender 2.79 for now.
Artfunkel 30 May, 2019 @ 1:39pm 
I've now pushed fixes to GitHub.
casual tryhard 31 May, 2019 @ 9:16am 
Yep it's fixed now. Thank you :cozyspaceengineersc:
Leonardo 23 Aug, 2019 @ 2:55am 
I have the same error in my app... which command in new API is used instead:
bpy.context.scene.update()
???
Thanks for the answer!
< >
Showing 1-4 of 4 comments
Per page: 1530 50

All Discussions > Help > Topic Details
Date Posted: 27 May, 2019 @ 4:57pm
Posts: 4