Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dfremont committed Oct 8, 2024
1 parent 524b391 commit 73071fd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import unreal
from pathlib import Path
import os
import argparse
import json
import os
from pathlib import Path

import unreal

# get output directory
parser = argparse.ArgumentParser()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import argparse
import json
import os
import shutil
from warnings import warn

import bpy
import numpy as np
import trimesh
import bpy
import shutil
from scenic.core.utils import repairMesh

from scenic.core.utils import repairMesh

WORLD_SCALE = 10000
DEFAULT_MESH = trimesh.creation.box((1, 1, 1))
Expand Down Expand Up @@ -54,7 +55,6 @@
tmeshes = {}
for filename in os.listdir(assetsInputDir):
if filename.endswith(".fbx"):

# make fbx into stl so that trimesh can read it
name = os.path.splitext(filename)[0].lower()
filepath = os.path.join(assetsInputDir, filename)
Expand Down Expand Up @@ -107,7 +107,6 @@
with open(inputDirectory + "/actorInfo.json") as file:
actorInfoList = json.load(file)
for actorInfo in actorInfoList:

if not (actorInfo["meshName"].lower() in tmeshes):
continue

Expand Down

0 comments on commit 73071fd

Please sign in to comment.