NLA SoC: Merge from 2.5 soc-2009-aligorith
authorJoshua Leung <aligorith@gmail.com>
Sat, 11 Jul 2009 03:23:45 +0000 (03:23 +0000)
committerJoshua Leung <aligorith@gmail.com>
Sat, 11 Jul 2009 03:23:45 +0000 (03:23 +0000)
21470 to 21512

Next up, NLA-branch to 2.5 :)

16 files changed:
1  2 
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/writefile.c
source/blender/editors/include/ED_transform.h
source/blender/editors/interface/view2d.c
source/blender/editors/screen/screen_ops.c
source/blender/editors/space_file/filesel.c
source/blender/editors/space_view3d/view3d_header.c
source/blender/editors/transform/transform_ops.c
source/blender/makesdna/DNA_scene_types.h
source/blender/makesrna/RNA_access.h
source/blender/makesrna/intern/makesrna.c
source/blender/makesrna/intern/rna_constraint.c
source/blender/makesrna/intern/rna_particle.c
source/blender/makesrna/intern/rna_scene.c
source/blender/makesrna/intern/rna_space.c
source/blender/python/intern/bpy_util.c

@@@ -1,5 -1,5 +1,5 @@@
  /**
-- * $Id$
++ * $Id: ED_transform.h 21450 2009-07-09 02:45:48Z theeth $
   *
   * ***** BEGIN GPL LICENSE BLOCK *****
   *
@@@ -263,14 -247,18 +264,18 @@@ void UI_view2d_region_reinit(View2D *v2
                                
                                v2d->tot.xmin= 0.0f;
                                v2d->tot.xmax= winx;
 -
 +                              
                                v2d->tot.ymax= 0.0f;
                                v2d->tot.ymin= -winy;
 -
 +                              
-                               v2d->cur= v2d->tot;
+                               v2d->cur.xmin= 0.0f;
+                               v2d->cur.xmax= winx*style->panelzoom;
+                               v2d->cur.ymax= 0.0f;
+                               v2d->cur.ymin= -winy*style->panelzoom;
                        }
                                break;
 -
 +                              
                                /* other view types are completely defined using their own settings already */
                        default:
                                /* we don't do anything here, as settings should be fine, but just make sure that rect */
Simple merge