Fix addon
This commit is contained in:
@@ -258,7 +258,7 @@ add_custom_target(stage_files ALL DEPENDS ${CMAKE_BINARY_DIR}/resources.cfg ${MA
|
||||
|
||||
add_custom_target(remove_scenes COMMAND rm -f ${VRM_SOURCE} ${VRM_IMPORTED_BLENDS} ${CHARACTER_GLBS})
|
||||
|
||||
target_compile_definitions(Game PRIVATE FLECS_CPP_NO_AUTO_REGISTRATION)
|
||||
target_compile_definitions(Game PRIVATE FLECS_CPP_NO_AUTO_REGISTRATION JPH_PROFILE_ENABLED)
|
||||
|
||||
install(TARGETS Game DESTINATION bin)
|
||||
install(TARGETS Editor DESTINATION bin)
|
||||
|
||||
Binary file not shown.
BIN
assets/blender/scripts/addons/3.6/io_ogre.zip
LFS
Normal file
BIN
assets/blender/scripts/addons/3.6/io_ogre.zip
LFS
Normal file
Binary file not shown.
@@ -6,7 +6,7 @@ script_list = [item for item in file_list if item.endswith('.zip')]
|
||||
for file in file_list:
|
||||
path_to_file = os.path.join(path_to_script_dir, file)
|
||||
bpy.ops.preferences.addon_install(overwrite=True, target='DEFAULT', filepath=path_to_file, filter_folder=True, filter_python=False, filter_glob="*.py;*.zip")
|
||||
enableTheseAddons = ["VRM_Addon_for_Blender-release", "blender2ogre"]
|
||||
enableTheseAddons = ["VRM_Addon_for_Blender-release", "io_ogre"]
|
||||
for string in enableTheseAddons:
|
||||
name = enableTheseAddons
|
||||
bpy.ops.preferences.addon_enable(module = string)
|
||||
|
||||
@@ -16,3 +16,5 @@ find_package(flecs REQUIRED CONFIG)
|
||||
add_library(physics STATIC physics.cpp)
|
||||
target_link_libraries(physics PUBLIC OgreMain Jolt::Jolt)
|
||||
target_include_directories(physics PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
target_compile_definitions(physics PRIVATE JPH_PROFILE_ENABLED)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user