Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34732] trunk/blender/release/bin/ blender-thumbnailer.py: patch [#25972] blender-thumbnailer.py: GVFS support

2011-02-09 Thread Xavier Thomas
Hi Campbell, I would like to know if the Blender thumbnailer deactivate python scripts inside the blend. Thumbnailers are big security issues. A malisous .blend on a USB memory stick could serve as infection vector on all platform. Executing some of the py scripts inside would make it too easy.

Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34732] trunk/blender/release/bin/ blender-thumbnailer.py: patch [#25972] blender-thumbnailer.py: GVFS support

2011-02-09 Thread Tom Edwards
Thumbs are generated by Blender on save and stored in the file as RGBA pixels. There is no risk. On this topic, I keep wanting to submit my Windows thumbnail handler but I don't know where it should go in the source tree. It has to be a dynamic lib, but it's not exactly external...any suggestio

Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34732] trunk/blender/release/bin/ blender-thumbnailer.py: patch [#25972] blender-thumbnailer.py: GVFS support

2011-02-09 Thread Campbell Barton
@Xavier, blender-thumbnailer.py is a standalone script and runs without blender in py2.x - 3.x its included so tools may extract thumbnails from blender without loading blender. blender does this internally in C, from thumbs_blend.c: loadblend_thumb. @Tom Edwards, there doesn't seem to be a good

Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34732] trunk/blender/release/bin/ blender-thumbnailer.py: patch [#25972] blender-thumbnailer.py: GVFS support

2011-02-10 Thread Tom Edwards
Thanks Campbell. There is another issue I forgot: unlike Blender itself, an x86 thumb handler won't run on x64 Windows. Can the build systems handle this? On 10/02/2011 12:57, Campbell Barton wrote: > @Xavier, > blender-thumbnailer.py is a standalone script and runs without blender > in py2.x -

Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34732] trunk/blender/release/bin/ blender-thumbnailer.py: patch [#25972] blender-thumbnailer.py: GVFS support

2011-02-10 Thread Tom Edwards
Turns out that Scons isn't set up for dynamic libs: it can only copy them in from the /libs folder. The thumb handler residing there is probably for the best anyway, since the Windows SDK is needed to build it. Pre-compiling also solves the arch problem in my last message. On 10/02/2011 5:11, T

Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34732] trunk/blender/release/bin/ blender-thumbnailer.py: patch [#25972] blender-thumbnailer.py: GVFS support

2011-02-11 Thread Tom Edwards
Patch is up: http://projects.blender.org/tracker/index.php?func=detail&aid=26044&group_id=9&atid=127 On 10/02/2011 10:59, Tom Edwards wrote: > Turns out that Scons isn't set up for dynamic libs: it can only copy > them in from the /libs folder. The thumb handler residing there is > probably for t