Skip to content

Commit

Permalink
V0.6 - fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mifth committed Jan 26, 2023
1 parent 6831d83 commit 19ccfc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion BEngine-Py/BEVersion.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = 0.5
VERSION = 0.6
9 changes: 3 additions & 6 deletions BEngine-Py/Utils/BEUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,12 +489,9 @@ def ParseObjectFromJSON(context, js_obj_val, js_input_data, instanced_meshes,

# Check If it has Mesh
for js_obj in js_obj_val:
if "Mesh" in js_obj:
tmp_jsmesh = js_input_data["Meshes"][js_obj["Mesh"]]

if "Verts" in tmp_jsmesh and tmp_jsmesh["Verts"]:
has_mesh = True
break
if "Mesh" in js_obj or "Terrain" in js_obj:
has_mesh = True
break

# if hasMesh:
for i, js_obj in enumerate(js_obj_val):
Expand Down

0 comments on commit 19ccfc9

Please sign in to comment.