Skip to content

Commit

Permalink
removed the export part of goals (all of them for consistency)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilaa3 committed Jan 8, 2024
1 parent d4e77af commit ce265d6
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"last_check": "",
"backup_date": "",
"update_ready": false,
"ignore": false,
"just_restored": false,
"just_updated": false,
"version_text": {}
}
4 changes: 2 additions & 2 deletions fast64_internal/sm64/sm64_anim.py
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ def execute(self, context):
class SM64_ExportAnimPanel(SM64_Panel):
bl_idname = "SM64_PT_export_anim"
bl_label = "SM64 Animation Exporter"
goal = "Export Object/Actor/Anim"
goal = "Object/Actor/Anim"

# called every frame
def draw(self, context):
Expand Down Expand Up @@ -1011,7 +1011,7 @@ def execute(self, context):
class SM64_ImportAnimPanel(SM64_Panel):
bl_idname = "SM64_PT_import_anim"
bl_label = "SM64 Animation Importer"
goal = "Export Object/Actor/Anim"
goal = "Object/Actor/Anim"
import_panel = True

# called every frame
Expand Down
2 changes: 1 addition & 1 deletion fast64_internal/sm64/sm64_collision.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ def execute(self, context):
class SM64_ExportCollisionPanel(SM64_Panel):
bl_idname = "SM64_PT_export_collision"
bl_label = "SM64 Collision Exporter"
goal = "Export Object/Actor/Anim"
goal = "Object/Actor/Anim"

# called every frame
def draw(self, context):
Expand Down
8 changes: 4 additions & 4 deletions fast64_internal/sm64/sm64_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@

enum_sm64_goal_type = [
("All", "All", "All"),
("Export Object/Actor/Anim", "Export Object/Actor/Anim", "Export Object/Actor/Anim"),
("Export Level", "Export Level", "Export Level"),
("Export Displaylist", "Export Displaylist", "Export Displaylist"),
("Export UI Image", "Export UI Image", "Export UI Image"),
("Object/Actor/Anim", "Object/Actor/Anim", "Object/Actor/Anim"),
("Level", "Level", "Level"),
("Displaylist", "Displaylist", "Displaylist"),
("UI Image", "UI Image", "UI Image"),
]

enum_export_type = [
Expand Down
4 changes: 2 additions & 2 deletions fast64_internal/sm64/sm64_f3d_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ def execute(self, context):
class SM64_ExportDLPanel(SM64_Panel):
bl_idname = "SM64_PT_export_dl"
bl_label = "SM64 DL Exporter"
goal = "Export Displaylist"
goal = "Displaylist"

# called every frame
def draw(self, context):
Expand Down Expand Up @@ -806,7 +806,7 @@ def execute(self, context):
class ExportTexRectDrawPanel(SM64_Panel):
bl_idname = "TEXTURE_PT_export_texrect"
bl_label = "SM64 UI Image Exporter"
goal = "Export UI Image"
goal = "UI Image"
decomp_only = True

# called every frame
Expand Down
2 changes: 1 addition & 1 deletion fast64_internal/sm64/sm64_geolayout_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1592,7 +1592,7 @@ def execute(self, context):
class SM64_ImportGeolayoutPanel(SM64_Panel):
bl_idname = "SM64_PT_import_geolayout"
bl_label = "SM64 Geolayout Importer"
goal = "Export Object/Actor/Anim"
goal = "Object/Actor/Anim"
import_panel = True

# called every frame
Expand Down
2 changes: 1 addition & 1 deletion fast64_internal/sm64/sm64_geolayout_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3177,7 +3177,7 @@ def execute(self, context):
class SM64_ExportGeolayoutPanel(SM64_Panel):
bl_idname = "SM64_PT_export_geolayout"
bl_label = "SM64 Geolayout Exporter"
goal = "Export Object/Actor/Anim"
goal = "Object/Actor/Anim"

# called every frame
def draw(self, context):
Expand Down
4 changes: 2 additions & 2 deletions fast64_internal/sm64/sm64_level_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@ def addHeaderC(levelName):
class SM64_ExportLevel(ObjectDataExporter):
# set bl_ properties
bl_idname = "object.sm64_export_level"
bl_label = "Export Level"
bl_label = "Level"
bl_options = {"REGISTER", "UNDO", "PRESET"}

def execute(self, context):
Expand Down Expand Up @@ -1215,7 +1215,7 @@ def execute(self, context):
class SM64_ExportLevelPanel(SM64_Panel):
bl_idname = "SM64_PT_export_level"
bl_label = "SM64 Level Exporter"
goal = "Export Level"
goal = "Level"
decomp_only = True

# called every frame
Expand Down
Binary file modified mario.blend
Binary file not shown.

0 comments on commit ce265d6

Please sign in to comment.