Fix crash when using gradient-filled functions without entering Gradient screen before. Thanks to PheeL for report
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1644 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
0ede7c43cd
commit
a59de659bd
@ -2566,6 +2566,14 @@ void Set_config_defaults(void)
|
||||
}
|
||||
Load_gradient_data(Current_gradient);
|
||||
*/
|
||||
// Can't Load_gradient_data(), it depends on Backup system
|
||||
// and this function can be called before Backup system is ready.
|
||||
Gradient_function=Gradient_basic;
|
||||
Gradient_lower_bound=0;
|
||||
Gradient_upper_bound=0;
|
||||
Gradient_random_factor=1;
|
||||
Gradient_bounds_range=1;
|
||||
|
||||
|
||||
// Smooth
|
||||
Smooth_matrix[0][0]=1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user