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
_______________________________________________
Bf-committers mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to