Skip to content

Commit 22e07b0

Browse files
author
Roberto De Ioris
authored
Update YourFirstAutomatedPipeline.md
1 parent 7502c05 commit 22e07b0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tutorials/YourFirstAutomatedPipeline.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,15 +459,16 @@ Its event graph manages the Speed variable for the blend space and the idle time
459459
```python
460460
from 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
467465
anim_bp = ue.find_asset('/Game/Kaiju/Slicer/slicer_AnimBP.slicer_AnimBP')
468466
if 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+
471472
anim_bp = anim_bp_factory.factory_create_new('/Game/Kaiju/Slicer/slicer_AnimBP')
472473
```
473474

0 commit comments

Comments
 (0)