安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题



File "C:\Users\IINEWMANII\AppData\Roaming\Blender Foundation\Blender\2.69\scripts\addons\io_scene_valvesource\import_smd.py", line 59, in execute
self.countSMDs = self.readSMD(self.properties.filepath, self.properties.upAxis, self.properties.rotMode, append=self.properties.append)
File "C:\Users\IINEWMANII\AppData\Roaming\Blender Foundation\Blender\2.69\scripts\addons\io_scene_valvesource\import_smd.py", line 1249, in readSMD
if line == "nodes\n": self.readNodes()
File "C:\Users\IINEWMANII\AppData\Roaming\Blender Foundation\Blender\2.69\scripts\addons\io_scene_valvesource\import_smd.py", line 241, in readNodes
smd.a = self.createArmature((self.qc.jobName if self.qc else smd.jobName) + "_skeleton")
File "C:\Users\IINEWMANII\AppData\Roaming\Blender Foundation\Blender\2.69\scripts\addons\io_scene_valvesource\import_smd.py", line 301, in createArmature
ops.object.mode_set(mode='OBJECT',toggle=False)
File "C:\Program Files\Blender Foundation\Blender\2.69\scripts\modules\bpy\ops.py", line 188, in __call__
ret = op_call(self.idname_py(), None, kw)
RuntimeError: Operator bpy.ops.object.mode_set.poll() failed, context is incorrect
location: <unknown location>:-1
This is the error I get.
Edit: Changed "I can confirm that... I can import >" to "I can confirm that... that... that I can import >" to hopefully reduce confusion about what I meant a little.
Traceback (most recent call last):
File "C:\Users\Public\Blender Foundation\Blender\2.69\scripts\addons\io_scene_valvesource\import_smd.py", line 59, in execute
self.countSMDs = self.readSMD(self.properties.filepath, self.properties.upAxis, self.properties.rotMode, append=self.properties.append)
File "C:\Users\Public\Blender Foundation\Blender\2.69\scripts\addons\io_scene_valvesource\import_smd.py", line 1249, in readSMD
if line == "nodes\n": self.readNodes()
File "C:\Users\Public\Blender Foundation\Blender\2.69\scripts\addons\io_scene_valvesource\import_smd.py", line 241, in readNodes
smd.a = self.createArmature((self.qc.jobName if self.qc else smd.jobName) + "_skeleton")
File "C:\Users\Public\Blender Foundation\Blender\2.69\scripts\addons\io_scene_valvesource\import_smd.py", line 301, in createArmature
ops.object.mode_set(mode='OBJECT',toggle=False)
File "C:\Users\Public\Blender Foundation\Blender\2.69\scripts\modules\bpy\ops.py", line 188, in __call__
ret = op_call(self.idname_py(), None, kw)
RuntimeError: Operator bpy.ops.object.mode_set.poll() failed, context is incorrect
location: <unknown location>:-1
UPDATE: I completely removed everything related to blender from my computer and reinstalled 2.69 using the installer and then installed the add-on using the .zip and it works. I'm not exactly sure what was causing the problem but thank you for your help and suggestions....especially on a Sunday. Also thank you for taking the time to make this handy add-on.
Ok I can actually add the lamp after I have added at least one model but not before.
I use a radeon HD 7870 as my GPU.
It is working just fine for me again. If I start a new blank scene and add a lamp to it before I import any meshes then i get the error again. I have to remove the lamp and add at least one mesh(i.e Legion_Commander_Body.smd) then I can add the lamp back in and continue importing meshes as normal.