From aa539814e9f443295abb7bb4863ae3dcd627c300 Mon Sep 17 00:00:00 2001 From: pkowal1982 Date: Thu, 28 Jul 2016 15:02:27 +0200 Subject: [PATCH] Fix documentation on post import script --- tutorials/3d/importing_3d_scenes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/3d/importing_3d_scenes.rst b/tutorials/3d/importing_3d_scenes.rst index cebaab9e..6415405d 100644 --- a/tutorials/3d/importing_3d_scenes.rst +++ b/tutorials/3d/importing_3d_scenes.rst @@ -381,7 +381,7 @@ Create a script that basically looks like this: func post_import(scene): # do your stuff here - pass # scene contains the imported scene starting from the root node + return scene # remember to return the imported scene The post-import function takes the imported scene as parameter (the parameter is actually the root node of the scene).