File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -338,22 +338,18 @@ class Operator_AddTexturePath(Operator):
338338 bl_idname = "addonname.add_texture_path"
339339 bl_label = "Add Texture Path"
340340
341- # 用于存储用户选择的文件路径
342341 directory : StringProperty (
343342 subtype = 'DIR_PATH' ,
344343 default = "" ,
345344 )
346345
347346 def invoke (self , context , event ):
348- # 打开文件夹选择器
349347 context .window_manager .fileselect_add (self )
350348 return {'RUNNING_MODAL' }
351349
352350 def execute (self , context ):
353351 if self .directory :
354- # 获取插件偏好设置
355352 prefs = context .preferences .addons [__name__ ].preferences
356- # 添加新路径项
357353 new_path = prefs .texture_paths .add ()
358354 new_path .name = self .directory
359355 return {'FINISHED' }
@@ -362,7 +358,7 @@ class Operator_RemoveTexturePath(Operator):
362358 bl_idname = "addonname.remove_texture_path"
363359 bl_label = "Remove Texture Path"
364360
365- index : IntProperty (default = 0 ) # 要删除的路径索引
361+ index : IntProperty (default = 0 )
366362
367363 def execute (self , context ):
368364 prefs = context .preferences .addons [__name__ ].preferences
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ GitHub地址:https://github.com/nkx111/OpenSAGE.BlenderPlugin
2020
21212025/6/7(0.8.1) 更新:
2222修复【分离顶点】导致顶点法向异常的问题。(当一个顶点有多个uv坐标时(即该顶点附近贴图不连续),需要【分离顶点】)
23- 允许不退回物体模式导出。导出时自动退回物体模式
23+ 允许不退回物体模式导出。导出时自动退回物体模式。
2424网格和碰撞箱支持物体级别的缩放
2525优化了导出界面的选项,优化了【分文件导出】的效果。新增自动创建贴图文件的导出选项。
2626
You can’t perform that action at this time.
0 commit comments