Skip to content

Commit

Permalink
fixed geometry not exporting
Browse files Browse the repository at this point in the history
That was dumb. I didn't drag my selection far down enough while unindenting, and that was causing the bad stuff in the last commit.
  • Loading branch information
lifelandman committed Jan 16, 2024
1 parent f4298bf commit f374c60
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion omUlete main/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
bl_info = {
"name": "omUlete",
"author": "Jackson \"Lifeland\" S.",
"version": (0, 9),
"version": (0, 91),
"blender": (3, 5, 0),
"description": "",
"warning": "",
Expand Down
13 changes: 6 additions & 7 deletions omUlete main/omuParse.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ def childProcess(objects, known_objects, known_names, texture_path, using_anim,
if len(children) > 0:
child_addition = childProcess(children, known_objects, known_names, texture_path, using_anim, armDict, armMemDict, genDart, indent + 1)
if obj.type == "MESH":

thisMesh = obj.to_mesh(preserve_all_data_layers=True, depsgraph= bpy.context.evaluated_depsgraph_get())
useTex = False
#Add texture references, and calculate the slot data for materials
Expand All @@ -234,14 +233,14 @@ def childProcess(objects, known_objects, known_names, texture_path, using_anim,



#Process the mesh, and apply texture stuff in necissary
new_addition = process_mesh(thisMesh, name, mats, useTex, boneNames, vgroups, anim_check, boneDict, indent + 1)
egg_string += new_addition
obj.to_mesh_clear()
#Process the mesh, and apply texture stuff in necissary
new_addition = process_mesh(thisMesh, name, mats, useTex, boneNames, vgroups, anim_check, boneDict, indent + 1)
egg_string += new_addition
obj.to_mesh_clear()

egg_string += child_addition
egg_string += child_addition

egg_string += newliner + "}"
egg_string += newliner + "}"
return egg_string


Expand Down

0 comments on commit f374c60

Please sign in to comment.