[Bf-blender-cvs] CVS commit: blender/source/blender/python/api2_2x Image.c Sys.c
Campbell Barton
cbarton at metavr.com
Sat Sep 16 12:05:57 CEST 2006
campbellbarton (Campbell Barton) 2006/09/16 12:05:57 CEST
Modified files:
blender/source/blender/python/api2_2x Image.c Sys.c
Log:
New images were being initialized with zero users (normal for other data types),
but for images user counts work differently.
(just noticed this is what blender does so Image.New() now does the same)
Many of the sys functions had maximum path thengths that were too short.
char path[FILE_MAXFILE];
rather then
char path[FILE_MAXDIR + FILE_MAXFILE];
Revision Changes Path
1.52 +4 -2 blender/source/blender/python/api2_2x/Image.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/Image.c.diff?r1=1.51&r2=1.52&cvsroot=bf-blender>
1.27 +19 -19 blender/source/blender/python/api2_2x/Sys.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/Sys.c.diff?r1=1.26&r2=1.27&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list