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.
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
@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
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 -
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
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