projects
/
blender-staging.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d0255f
)
Wow! bugfix in bf-blender again!
author
Ton Roosendaal <ton@blender.org>
Sat, 28 Jan 2006 19:05:49 +0000
(19:05 +0000)
committer
Ton Roosendaal <ton@blender.org>
Sat, 28 Jan 2006 19:05:49 +0000
(19:05 +0000)
Simon C. gave me a nice crash.blend, in zbuffered transparent render.
Was a malloc that should become calloc... :)
source/blender/render/intern/source/zbuf.c
patch
|
blob
|
history
diff --git
a/source/blender/render/intern/source/zbuf.c
b/source/blender/render/intern/source/zbuf.c
index 3be859019edc95a1ebbf972b8455a5f93257ce67..1c2cdb2c616feb5aad34d29901238205875703a4 100644
(file)
--- a/
source/blender/render/intern/source/zbuf.c
+++ b/
source/blender/render/intern/source/zbuf.c
@@
-258,7
+258,7
@@
static APixstr *addpsmainA(ListBase *lb)
psm= RE_mallocN(sizeof(APixstrMain), "addpsmainA");
BLI_addtail(lb, psm);
- psm->ps= RE_
m
allocN(4096*sizeof(APixstr),"pixstr");
+ psm->ps= RE_
c
allocN(4096*sizeof(APixstr),"pixstr");
return psm->ps;
}