aboutsummaryrefslogtreecommitdiff
path: root/graphics/blender/blenderplayer-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/blender/blenderplayer-wrapper')
-rw-r--r--graphics/blender/blenderplayer-wrapper12
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/blender/blenderplayer-wrapper b/graphics/blender/blenderplayer-wrapper
new file mode 100644
index 0000000000000..f3ccab3ff285f
--- /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
+