STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
222
游戏中
1,475
在线
成立于
2013 年 11 月 8 日
所有讨论 > Help > 主题详情
casual tryhard 2019 年 5 月 27 日 下午 4: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'
最后由 casual tryhard 编辑于; 2019 年 5 月 27 日 下午 5:00
引用自 Artfunkel:
There have been recent changes to the Blender API which broke the script. Please use Blender 2.79 for now.
< >
正在显示第 1 - 4 条,共 4 条留言
该讨论串的作者已表示此帖子解答了原先的主题。
Artfunkel 2019 年 5 月 28 日 上午 11:48 
There have been recent changes to the Blender API which broke the script. Please use Blender 2.79 for now.
Artfunkel 2019 年 5 月 30 日 下午 1:39 
I've now pushed fixes to GitHub.
casual tryhard 2019 年 5 月 31 日 上午 9:16 
Yep it's fixed now. Thank you :cozyspaceengineersc:
Leonardo 2019 年 8 月 23 日 上午 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!
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50

所有讨论 > Help > 主题详情
发帖日期: 2019 年 5 月 27 日 下午 4:57
回复数: 4