2
0
mitm001 5 жил өмнө
parent
commit
eebb424b52

+ 1 - 9
docs/modules/tutorials/pages/beginner/hello_animation.adoc

@@ -7,17 +7,9 @@
 
 This tutorial shows how to add an animation controller and channels, and how to respond to user input by triggering an animation in a loaded model.
 
-
 image::beginner/beginner-animation.png[beginner-animation.png,width="",height="",align="center"]
 
-
-
-[TIP]
-====
-To use the example assets in a new jMonkeyEngine SDK project, btn:[RMB] select your project, select menu:Properties[Libraries] and in the `Compile` tab press `Add Library` and add the `jme3-test-data` library.
-====
-
-
+include::partial$add-testdata-tip.adoc[]
 
 == Sample Code
 

+ 1 - 7
docs/modules/tutorials/pages/beginner/hello_material.adoc

@@ -9,13 +9,7 @@ The term Material includes everything that influences what the surface of a 3D m
 
 image::beginner/beginner-materials.png[beginner-materials.png,320,240,align="center"]
 
-
-
-[TIP]
-====
-To use the example assets in a new jMonkeyEngine SDK project, right-click your project, select menu:Properties[Libraries > Add Library], and add the "`jme3-test-data`" library.
-====
-
+include::partial$add-testdata-tip.adoc[]
 
 
 == Sample Code

+ 4 - 0
docs/modules/tutorials/partials/add-testdata-tip.adoc

@@ -0,0 +1,4 @@
+[TIP]
+====
+To use the example assets in a new jMonkeyEngine SDK project, right-click your project, select menu:Properties[Libraries > Add Library], and add the "`jme3-test-data`" library.
+====