[Bf-committers] Particle system / Material choice / implementation of do_versions : problem with preview.blend
Julien Duroure
julien.duroure at gmail.com
Sat Mar 30 13:46:31 CET 2013
Hi all,
I implemented some code to replace, in particle render section, the
material index ( 1, 2 or 3 for example ), by a direct material choice (
Material, Material.001, etc...)
Code is now OK, but I am currenly working on do_versions, to be able to
open old files with this new "feature".
I try to implement this kind of code : http://pastebin.com/Czy3rfqZ
But I have a segfault when access on part->omat.
It seems to be linked to preview.blend objects.
GDB said that psys->part adresse can't be access.
I don't know how preview exactly works : is there someome can explain me
why I have this problem and how to correct it ?
Thanks & Regards,
Julien
More information about the Bf-committers
mailing list