Remove legacy code stub
This commit is contained in:
parent
af520b518e
commit
0456d5f080
|
@ -219,8 +219,7 @@ def export_data(fp, sdk_path):
|
|||
|
||||
# Write khafile.js
|
||||
enable_dce = state.is_publish and wrd.arm_dce
|
||||
import_logic = not state.is_publish and arm.utils.logic_editor_space() != None
|
||||
write_data.write_khafilejs(state.is_play, export_physics, export_navigation, export_ui, state.is_publish, enable_dce, ArmoryExporter.import_traits, import_logic)
|
||||
write_data.write_khafilejs(state.is_play, export_physics, export_navigation, export_ui, state.is_publish, enable_dce, ArmoryExporter.import_traits)
|
||||
|
||||
# Write Main.hx - depends on write_khafilejs for writing number of assets
|
||||
scene_name = arm.utils.get_project_scene_name()
|
||||
|
|
|
@ -54,7 +54,7 @@ def remove_readonly(func, path, excinfo):
|
|||
|
||||
|
||||
def write_khafilejs(is_play, export_physics: bool, export_navigation: bool, export_ui: bool, is_publish: bool,
|
||||
enable_dce: bool, import_traits: List[str], import_logicnodes) -> None:
|
||||
enable_dce: bool, import_traits: List[str]) -> None:
|
||||
wrd = bpy.data.worlds['Arm']
|
||||
|
||||
sdk_path = arm.utils.get_sdk_path()
|
||||
|
@ -160,9 +160,6 @@ project.addSources('Sources');
|
|||
# if export_navigation:
|
||||
# khafile.write("""project.addParameter("--macro include('armory.trait.navigation')");\n""")
|
||||
|
||||
# if import_logicnodes: # Live patching for logic nodes
|
||||
# khafile.write("""project.addParameter("--macro include('armory.logicnode')");\n""")
|
||||
|
||||
if not wrd.arm_compiler_inline:
|
||||
khafile.write("project.addParameter('--no-inline');\n")
|
||||
|
||||
|
|
Loading…
Reference in a new issue