Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2006-11-08 15:46:41 +0300
committerTon Roosendaal <ton@blender.org>2006-11-08 15:46:41 +0300
commita0354619c77747abe47e4f60a3b26f63f433d40a (patch)
tree25448d2f46d94662859d47a7f9d9014b93b5a3ee /source/blender/src/usiblender.c
parent6685c0d571059e1ad84cd4617e18301d9090dbca (diff)
Patch #5091, by Ramon Carlos Ruiz
For numerical pad 2-4-6-8, it adds a step value in degrees in the User Presets. Code had to be rewritten some... :)
Diffstat (limited to 'source/blender/src/usiblender.c')
-rw-r--r--source/blender/src/usiblender.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/usiblender.c b/source/blender/src/usiblender.c
index a0d8a8efca3..92b602b32e0 100644
--- a/source/blender/src/usiblender.c
+++ b/source/blender/src/usiblender.c
@@ -186,6 +186,8 @@ static void init_userdef_file(void)
U.tw_size= 20; // percentage of window size
U.tw_handlesize= 16; // percentage of widget radius
}
+ if(U.pad_rot_angle==0)
+ U.pad_rot_angle= 15;
if (G.main->versionfile <= 191) {
strcpy(U.plugtexdir, U.textudir);