This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source
Alfredo de Greef 7df985be0a I'm not sure if I'm allowed to do this, but I'm hoping this is ok...
I have been able to compile blender on linux 64 without problems up to a
month ago, but a recent change is giving me problems, and probably others
as well (on linux 64 at least). But if not, this commit shouldn't change
anything.
The problem was an added pad variable to RenderData in DNA_scene_types.h,
in a somewhat problematic place, since it causes the compiler to pad the
struct at the 'ListBase layers' variable, a struct of two pointers,
which caused me all sorts of trouble, variables declared after this having
incorrect or incorrectly assigned values.
This commit fixes this.

In makesdna.c is a useful section which will write a c program called
'padding.c' which compares the actual size to the expected size, which
for the RenderData and Scene struct in this case had a difference of 8.
Also useful was the gcc -Wpadded warning flag.

Hopefully I don't get 'fired' for this... ;)
Now back to fixing the yafray bugs...
2006-06-02 03:39:03 +00:00
..
2006-03-10 22:50:27 +00:00
2006-02-07 21:24:36 +00:00
2006-03-12 19:48:51 +00:00
2006-02-22 23:34:12 +00:00
2006-03-20 17:25:42 +00:00
2005-03-09 19:45:59 +00:00
2006-03-10 20:47:34 +00:00