Skip to content

Commit

Permalink
Configure Export for Custom OBJ Reader
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertBColton committed Nov 15, 2019
1 parent ab6e50c commit 3b3d5b3
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 19 deletions.
Empty file added Models/.gdignore
Empty file.
File renamed without changes.
2 changes: 1 addition & 1 deletion Spatial.gd
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func set_mesh_node_mesh(mesh):
func _ready():
#var surfTool = SurfaceTool.new()
#surfTool.create_from(meshNode.mesh, 0)
var surfTool = read_obj_mesh("res://bunny.obj")
var surfTool = read_obj_mesh("res://Models/bunny.obj")
surfTool.generate_normals()
set_mesh_node_mesh(surfTool.commit())
controlMesh = meshNode.mesh.duplicate()
Expand Down
18 changes: 0 additions & 18 deletions bunny.obj.import

This file was deleted.

0 comments on commit 3b3d5b3

Please sign in to comment.