diff options
Diffstat (limited to 'graphics/blender/blender-softwaregl-wrapper')
-rw-r--r-- | graphics/blender/blender-softwaregl-wrapper | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/graphics/blender/blender-softwaregl-wrapper b/graphics/blender/blender-softwaregl-wrapper new file mode 100644 index 0000000000..b337a60cea --- /dev/null +++ b/graphics/blender/blender-softwaregl-wrapper @@ -0,0 +1,9 @@ +#!/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 +PYTHONHOME="$(python -c "import sys; print ':'.join(sys.path[1:])")" \ + /opt/blender/blender-softwaregl |