[Bf-blender-cvs] [2737837b09d] master: Fix wrong data type used for undo memory limit

Sergey Sharybin noreply at git.blender.org
Wed Jan 10 13:21:03 CET 2018


Commit: 2737837b09d7b9434c33acf98421967193b7c9df
Author: Sergey Sharybin
Date:   Wed Jan 10 13:20:36 2018 +0100
Branches: master
https://developer.blender.org/rB2737837b09d7b9434c33acf98421967193b7c9df

Fix wrong data type used for undo memory limit

===================================================================

M	source/blender/makesdna/DNA_userdef_types.h

===================================================================

diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h
index 84818fe79c2..ae6907d256a 100644
--- a/source/blender/makesdna/DNA_userdef_types.h
+++ b/source/blender/makesdna/DNA_userdef_types.h
@@ -492,7 +492,9 @@ typedef struct UserDef {
 	char keyconfigstr[64];
 	
 	short undosteps;
-	short undomemory;
+	short pad1;
+	int undomemory;
+	int pad3;
 	short gp_manhattendist, gp_euclideandist, gp_eraser;
 	short gp_settings;  /* eGP_UserdefSettings */
 	short tb_leftmouse, tb_rightmouse;



More information about the Bf-blender-cvs mailing list