Fix for Brecht's commit to include the active Brush in ToolSettings, seems

to cause crashes on loading files.

Struct toolsettings was defined with a struct definition inside of a struct
definition... something I'm pretty sure our SNDA doesn't have support for.
This commit is contained in:
Ton Roosendaal 2006-08-30 10:43:51 +00:00
parent f5e6f59dba
commit 03bab43951
1 changed files with 8 additions and 5 deletions

View File

@ -309,6 +309,12 @@ typedef struct TimeMarker {
unsigned int flag;
} TimeMarker;
struct ImagePaintSettings {
struct Brush *brush;
short flag, tool;
int pad3;
};
typedef struct ToolSettings {
/* Subdivide Settings */
short cornertype;
@ -345,11 +351,8 @@ typedef struct ToolSettings {
float select_thresh;
/* Image Paint */
struct ImagePaintSettings {
struct Brush *brush;
short flag, tool;
int pad3;
} imapaint;
struct ImagePaintSettings imapaint;
} ToolSettings;
typedef struct Scene {