diff options
Diffstat (limited to 'graphics/blender/blenderplayer-wrapper')
-rw-r--r-- | graphics/blender/blenderplayer-wrapper | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/blender/blenderplayer-wrapper b/graphics/blender/blenderplayer-wrapper new file mode 100644 index 0000000000..f3ccab3ff2 --- /dev/null +++ b/graphics/blender/blenderplayer-wrapper @@ -0,0 +1,12 @@ +#!/bin/sh + +# Wrapper to start blender + +if [ ! -d $HOME/.blender ]; then + cp -a /usr/share/blender/dot-blender $HOME/.blender + sleep 1 +fi + +cd /opt/blender-_VERSION_ +/opt/blender-_VERSION_/blenderplayer + |