forked from bartvdbraak/blender
Wow! bugfix in bf-blender again!
Simon C. gave me a nice crash.blend, in zbuffered transparent render. Was a malloc that should become calloc... :)
This commit is contained in:
parent
0d0255f3f5
commit
9ce8944a05
@ -258,7 +258,7 @@ static APixstr *addpsmainA(ListBase *lb)
|
||||
|
||||
psm= RE_mallocN(sizeof(APixstrMain), "addpsmainA");
|
||||
BLI_addtail(lb, psm);
|
||||
psm->ps= RE_mallocN(4096*sizeof(APixstr),"pixstr");
|
||||
psm->ps= RE_callocN(4096*sizeof(APixstr),"pixstr");
|
||||
|
||||
return psm->ps;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user