Skip to content

Commit 05e8483

Browse files
author
Roberto De Ioris
authored
Update YourFirstAutomatedPipeline.md
1 parent 8268495 commit 05e8483

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

tutorials/YourFirstAutomatedPipeline.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -764,14 +764,18 @@ slicer_bp.GeneratedClass.get_cdo().CapsuleComponent.CapsuleRadius = 60
764764
# assign the the skeletal mesh and fix its relative position
765765
slicer_bp.GeneratedClass.get_cdo().Mesh.SkeletalMesh = slicer_mesh
766766
slicer_bp.GeneratedClass.get_cdo().Mesh.RelativeLocation = FVector(10, -3, -144)
767+
768+
# assign the animation blueprint
769+
slicer_bp.GeneratedClass.get_cdo().Mesh.AnimClass = anim_bp.GeneratedClass
767770
```
768771

769772
the get_cdo() method returns the 'Class Default Object', it is a special instance of a class defining the default properties and components that following instances should inherit. When you edit a blueprint class you can effectively editing its 'cdo'.
770773

771-
TODO: assign the anim blueprint
772-
773-
774+
We can now complete the first part of the tutorial by compiling the blueprint:
774775

776+
```python
777+
ue.compile_blueprint(slicer_bp)
778+
```
775779
Final notes
776780
-
777781

0 commit comments

Comments
 (0)