Skip to content

Commit

Permalink
unnecessary traces are not a good thing
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilaa3 committed Jan 8, 2024
1 parent e8f3445 commit d4e77af
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions fast64_internal/sm64/settings/properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,12 @@


def decomp_path_update(self, context: Context):
directory_path_checks(
abspath(self.decomp_path), "Empty decomp path.", "Decomp path does not exist.", "Decomp path is not a folder."
)
context.scene.fast64.settings.repo_settings_path = os.path.join(
os.path.dirname(abspath(self.decomp_path)), "fast64.json"
)

try:
directory_path_checks(abspath(self.decomp_path))
context.scene.fast64.settings.repo_settings_path = os.path.join(
os.path.dirname(abspath(self.decomp_path)), "fast64.json"
)
except: return

class SM64_Properties(PropertyGroup):
"""Global SM64 Scene Properties found under scene.fast64.sm64"""
Expand Down

0 comments on commit d4e77af

Please sign in to comment.