mirror of
https://github.com/kaosat-dev/Blender_bevy_components_workflow.git
synced 2024-11-22 20:00:53 +00:00
chore(tests): minor tweaks
This commit is contained in:
parent
5f955c1a53
commit
3a8844b7a1
@ -15,7 +15,7 @@ pub fn setup_game(
|
|||||||
) {
|
) {
|
||||||
// here we actually spawn our game world/level
|
// here we actually spawn our game world/level
|
||||||
commands.spawn((
|
commands.spawn((
|
||||||
BlueprintInfo::from_path("levels/World.gltf"),
|
BlueprintInfo::from_path("levels/World.glb"),
|
||||||
HideUntilReady,
|
HideUntilReady,
|
||||||
SpawnBlueprint,
|
SpawnBlueprint,
|
||||||
GameWorldTag,
|
GameWorldTag,
|
||||||
|
@ -53,7 +53,7 @@ def test_export_external_blueprints(setup_data):
|
|||||||
blenvy.auto_export.auto_export = True
|
blenvy.auto_export.auto_export = True
|
||||||
blenvy.auto_export.export_scene_settings = True
|
blenvy.auto_export.export_scene_settings = True
|
||||||
blenvy.auto_export.export_blueprints = True
|
blenvy.auto_export.export_blueprints = True
|
||||||
blenvy.auto_export.export_materials_library = True
|
#blenvy.auto_export.export_materials_library = True
|
||||||
|
|
||||||
print("SCENES", bpy.data.scenes)
|
print("SCENES", bpy.data.scenes)
|
||||||
for scene in bpy.data.scenes:
|
for scene in bpy.data.scenes:
|
||||||
|
@ -123,9 +123,10 @@ def test_export_complex(setup_data):
|
|||||||
user_asset.path = "audio/fake.mp3"'''
|
user_asset.path = "audio/fake.mp3"'''
|
||||||
|
|
||||||
# we have to cheat, since we cannot rely on the data injected when saving the library file (since we are not saving it as part of the tests)
|
# we have to cheat, since we cannot rely on the data injected when saving the library file (since we are not saving it as part of the tests)
|
||||||
'''bpy.data.collections["External_blueprint"]["export_path"] = "blueprints/External_blueprint.glb"
|
bpy.data.collections["External_blueprint"]["export_path"] = "blueprints/External_blueprint.glb"
|
||||||
bpy.data.collections["External_blueprint2"]["export_path"] = "blueprints/External_blueprint2.glb"
|
bpy.data.collections["External_blueprint2"]["export_path"] = "blueprints/External_blueprint2.glb"
|
||||||
bpy.data.collections["External_blueprint3"]["export_path"] = "blueprints/External_blueprint3.glb"'''
|
bpy.data.collections["External_blueprint3"]["export_path"] = "blueprints/External_blueprint3.glb"
|
||||||
|
#materials/testing_library_materials.glb
|
||||||
|
|
||||||
# do the actual exporting
|
# do the actual exporting
|
||||||
prepare_and_export()
|
prepare_and_export()
|
||||||
|
Loading…
Reference in New Issue
Block a user