WowDevTools / Blender-WMO-import-export-scripts

Script addon for Blender featuring World of Warcraft World Model Object (WMO) editing functionality.
GNU General Public License v3.0
38 stars 17 forks source link

Mesh's Group ID's #3

Closed gratural closed 7 years ago

gratural commented 7 years ago

When exporting to WMO, groups are getting unpredictable and uncomfortable ID. They takes ID's in order when they are added to scene (can make sure, by reimport WMO, turning off "Alphabetically" in Outliner and verify ID's names and his order in list) It is particularly important, that the ID's will change each time, after addition new meshes. Maybe you should change order list on export WMO's groups, from last to first, or he can be alphabetical.

skarndev commented 7 years ago

Does not sound possible right now. I am just iterating through Blender's context. I will rework all order-related features in order to be group ID-independent. So, it won't matter anymore.

gratural commented 7 years ago

Got it by using parent-child relation. This also fixes twisted portal settings. This is my short indian script. May be it useful for you. hierarchy_ordering.py.txt

gratural commented 7 years ago

Issue are not actual after rewriting portal export function.