Some more fixes to missing look initialization
This commit is contained in:
@@ -1260,7 +1260,7 @@ void BKE_color_managed_view_settings_init(ColorManagedViewSettings *settings)
|
||||
* for now use NONE to be compatible with all current files
|
||||
*/
|
||||
BLI_strncpy(settings->view_transform, "Default", sizeof(settings->view_transform));
|
||||
BLI_strncpy(settings->look, "NONE", sizeof(settings->look));
|
||||
BLI_strncpy(settings->look, "None", sizeof(settings->look));
|
||||
|
||||
settings->gamma = 1.0f;
|
||||
settings->exposure = 0.0f;
|
||||
|
||||
@@ -906,6 +906,7 @@ static void init_default_view_settings(const ColorManagedDisplaySettings *displa
|
||||
else
|
||||
view_settings->view_transform[0] = '\0';
|
||||
|
||||
BLI_strncpy(view_settings->look, "None", sizeof(view_settings->look));
|
||||
view_settings->flag = 0;
|
||||
view_settings->gamma = 1.0f;
|
||||
view_settings->exposure = 0.0f;
|
||||
|
||||
Reference in New Issue
Block a user