diff options
author | Ton Roosendaal <ton@blender.org> | 2009-01-04 17:14:06 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-01-04 17:14:06 +0300 |
commit | f7cb86df3a9ceccc4d649e42735732a608169157 (patch) | |
tree | 558a9ba43708a2213b1afa8f46d79f5daa140bc6 /source/blender/blenkernel/BKE_exotic.h | |
parent | 74f9e98c828c17910405092785633373d4ae88e8 (diff) |
2.5
Think global, act local!
The old favorite G.scene gone! Man... that took almost 2 days.
Also removed G.curscreen and G.edbo.
Not everything could get solved; here's some notes.
- modifiers now store current scene in ModifierData. This is not
meant for permanent, but it can probably stick there until we
cleaned the anim system and depsgraph to cope better with
timing issues.
- Game engine G.scene should become an argument for staring it.
Didn't solve this yet.
- Texture nodes should get scene cfra, but the current implementation
is too tightly wrapped to do it easily.
Diffstat (limited to 'source/blender/blenkernel/BKE_exotic.h')
-rw-r--r-- | source/blender/blenkernel/BKE_exotic.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/blenkernel/BKE_exotic.h b/source/blender/blenkernel/BKE_exotic.h index 3814518a9e7..11dc1f41109 100644 --- a/source/blender/blenkernel/BKE_exotic.h +++ b/source/blender/blenkernel/BKE_exotic.h @@ -32,6 +32,7 @@ #define BKE_EXOTIC_H struct Mesh; +struct Scene; void mcol_to_rgba(unsigned int col, float *r, float *g, float *b, float *a); unsigned int *mcol_to_vcol(struct Mesh *me); // used in py_main.c @@ -42,12 +43,12 @@ unsigned int *mcol_to_vcol(struct Mesh *me); // used in py_main.c * @retval 1 The file was read succesfully. * @attention Used in filesel.c */ -int BKE_read_exotic(char *name); +int BKE_read_exotic(struct Scene *scene, char *name); -void write_dxf(char *str); -void write_vrml(char *str); -void write_videoscape(char *str); -void write_stl(char *str); +void write_dxf(struct Scene *scene, char *str); +void write_vrml(struct Scene *scene, char *str); +void write_videoscape(struct Scene *scene, char *str); +void write_stl(struct Scene *scene, char *str); #endif |