forked from bartvdbraak/blender
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:
parent
f5e6f59dba
commit
03bab43951
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user