This bug has existed since version 2.2. Even if the edge split modifier is added (not applied), it still needs to mark sharp edges. And sometimes, marking sharp edges can not make objects have correct light and dark shadows. However, in version 2.1 or even lower, there is no such problem. I hope to fix it as soon as possible. thanks!
[Translate by google]
[2.2] When exporting objects, the "Edge Split" modifier added is ignored[SOLVED]
[2.2] When exporting objects, the "Edge Split" modifier added is ignored[SOLVED]
Last edited by shadowyue on 09 Aug 2021 15:37, edited 1 time in total.
This is China Greater Bay Area map editor.
Re: [2.2] When exporting objects, the "Edge Split" modifier added is ignored
When you export with both "Apply Modifiers" and "Apply Edge Split", export goes fine, but Edge Split (and/or maybe other modifiers are not applied on export).
When you export with only "Apply Edge Split"
When you have no ticks
When you have only "Apply Modifiers" export goes fine, but Edge Split (and/or maybe other modifiers are not applied on export).
Latest BT as of time of writing, Blender 2.93.2 from Blender.org
When you export with only "Apply Edge Split"
Code: Select all
Python: Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scs_tools\operators\scene.py", line 198, in invoke
self.init()
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scs_tools\operators\bases\export.py", line 126, in init
self.disabled_modifiers = _object_utils.disable_modifiers(objs_to_export)
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scs_tools\utils\object.py", line 682, in disable_modifiers
disabled_modifiers.update(disable_modifiers(obj, modifier_type_to_disable='EDGE_SPLIT', inverse=True))
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scs_tools\utils\object.py", line 667, in disable_modifiers
for obj in objs:
TypeError: 'Object' object is not iterable
location: <unknown location>:-1
Code: Select all
Python: Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scs_tools\operators\scene.py", line 198, in invoke
self.init()
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scs_tools\operators\bases\export.py", line 126, in init
self.disabled_modifiers = _object_utils.disable_modifiers(objs_to_export)
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scs_tools\utils\object.py", line 684, in disable_modifiers
disabled_modifiers.update(disable_modifiers(obj, modifier_type_to_disable='ANY', inverse=True))
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scs_tools\utils\object.py", line 667, in disable_modifiers
for obj in objs:
TypeError: 'Object' object is not iterable
location: <unknown location>:-1
Latest BT as of time of writing, Blender 2.93.2 from Blender.org
Seasonic SSR-650TD; Intel Core i5-6700K; Gainward GTX 1060 6GB Phoenix GS; 2x Kingston HyperX Fury 8GB; 2x Crucial MX500 2TB; 3x Seagate IronWolf Pro; Corsair Force MP510 960GB; 2x 24" AOC I2481FXH; Windows 10
www.etrusan.net
www.etrusan.net
Re: [2.2] When exporting objects, the "Edge Split" modifier added is ignored
@Etrusan Thanks for your answer although I don't konow the meaning of python.
But now I must apply the edge split modifer ,otherwise, even if sharp edges are marked and two options of two export panels are applied, I can't get a cube (dif.spec shader) with normal shadows.
(Will this problem only appear on prefab? Just like a special exception, the flavor with shadow applied to prefab objects cannot take effect. A shadow caster cube must be made...)
[ external image ]
[ external image ]
But now I must apply the edge split modifer ,otherwise, even if sharp edges are marked and two options of two export panels are applied, I can't get a cube (dif.spec shader) with normal shadows.
(Will this problem only appear on prefab? Just like a special exception, the flavor with shadow applied to prefab objects cannot take effect. A shadow caster cube must be made...)
[ external image ]
[ external image ]
This is China Greater Bay Area map editor.
Re: [2.2] When exporting objects, the "Edge Split" modifier added is ignored
I posted it so @50keda has some (hopefully) relevant info on what's the problem and when it happens.
Seasonic SSR-650TD; Intel Core i5-6700K; Gainward GTX 1060 6GB Phoenix GS; 2x Kingston HyperX Fury 8GB; 2x Crucial MX500 2TB; 3x Seagate IronWolf Pro; Corsair Force MP510 960GB; 2x 24" AOC I2481FXH; Windows 10
www.etrusan.net
www.etrusan.net
Re: [2.2] When exporting objects, the "Edge Split" modifier added is ignored
Yep, bug due the refactoring of export code. Will be fixed today.
Re: [2.2] When exporting objects, the "Edge Split" modifier added is ignored
Fixed in latest v2.2 release as of now.
@shadowyue please check it out and if it works, mark this thread as resolved, thx!
@shadowyue please check it out and if it works, mark this thread as resolved, thx!
Who is online
Users browsing this forum: No registered users and 4 guests