File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -459,15 +459,16 @@ Its event graph manages the Speed variable for the blend space and the idle time
459459``` python
460460from unreal_engine.classes import AnimBlueprintFactory
461461
462- anim_bp_factory = AnimBlueprintFactory()
463- anim_bp_factory.TargetSkeleton = slicer_mesh.Skeleton
464462
465463# ensure no blueprint with the same name exists
466464# find_asset() returns None if the asset does not exist
467465anim_bp = ue.find_asset(' /Game/Kaiju/Slicer/slicer_AnimBP.slicer_AnimBP' )
468466if anim_bp:
469467 ue.delete_asset(anim_bp.get_path_name())
470468
469+ anim_bp_factory = AnimBlueprintFactory()
470+ anim_bp_factory.TargetSkeleton = slicer_mesh.Skeleton
471+
471472anim_bp = anim_bp_factory.factory_create_new(' /Game/Kaiju/Slicer/slicer_AnimBP' )
472473```
473474
You can’t perform that action at this time.
0 commit comments