Blender Git Commit Log

Git Commits -> Revision 52135dd

Revision 52135dd by Brecht Van Lommel (master)
January 15, 2009, 04:38 (GMT)
2.5: Space Image ported back

Organized as follows:

uvedit/
uv editing related code
uvedit_draw.c: drawing code
uvedit_ops.c: operators, just a few done
uvedit_unwrap_ops.c: will be operators for unwrapping
uvedit_paramatrizer.c: lscm/abf/stretch/pack

space_image/
space_image.c: registration and common getter/setters
image_draw.c: drawing code, mostly functional
image_panels.c: panels, all commented out
image_render.c: render callbacks, non functional
image_ops.c: operators, only view navigation done
image_header.c: header, menus mostly done but missing buttons

Notes:
* Header menus consist only of Operator and RNA buttons, if they
are not implemented they're displayed grayed out. Ideally the full
header could work like this, but std_libbuttons looks problematic.

* Started using view2d code more than the old code, but for now it
still does own view2d management due to some very specific
requirements that the image window has. The drawing code however
is more clear hopefully, it only uses view2d, and there is no
switching between 'p' and 'f' view2d's anymore, it is always 'f'.

* In order to make uvedit operators more independent I move some
image space settings to scene toolsettings, and the current image
and its buffer is in the context. Especially sync selection and
select mode belonged there anyway as this cannot work correct with
different spaces having different settings anyway.

* Image paint is not back yet, did not want to put that together with
uvedit because there's really no code sharing.. perhaps vertex paint,
image paint and sculpt would be good to have in one module to share
brush code, partial redraw, etc better.

Commit Details:

Full Hash: 52135dd4fac718b31b7653e42a7e4b332b2814f3
SVN Revision: 18517
Parent Commit: 2213fa1
Lines Changed: +12897, -67

13 Added Paths:

/source/blender/editors/include/ED_uvedit.h (+45, -0) (View)
/source/blender/editors/space_image/image_draw.c (+722, -0) (View)
/source/blender/editors/space_image/image_ops.c (+1178, -0) (View)
/source/blender/editors/space_image/image_panels.c (+631, -0) (View)
/source/blender/editors/space_image/image_render.c (+335, -0) (View)
/source/blender/editors/uvedit/Makefile (+54, -0)
/source/blender/editors/uvedit/SConscript (+10, -0) (View)
/source/blender/editors/uvedit/uvedit_draw.c (+808, -0) (View)
/source/blender/editors/uvedit/uvedit_intern.h (+72, -0) (View)
/source/blender/editors/uvedit/uvedit_ops.c (+2401, -0) (View)
/source/blender/editors/uvedit/uvedit_parametrizer.c (+4481, -0) (View)
/source/blender/editors/uvedit/uvedit_parametrizer.h (+97, -0) (View)
/source/blender/editors/uvedit/uvedit_unwrap_ops.c (+383, -0) (View)

18 Modified Paths:

/source/blender/blenkernel/BKE_context.h (+5, -0) (Diff)
/source/blender/blenkernel/intern/context.c (+10, -0) (Diff)
/source/blender/editors/include/ED_armature.h (+2, -0) (Diff)
/source/blender/editors/include/ED_mesh.h (+18, -3) (Diff)
/source/blender/editors/include/ED_object.h (+4, -0) (Diff)
/source/blender/editors/include/ED_screen.h (+1, -0) (Diff)
/source/blender/editors/Makefile (+1, -1) (Diff)
/source/blender/editors/mesh/editface.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_lib.c (+3, -3) (Diff)
/source/blender/editors/mesh/mesh_intern.h (+0, -5) (Diff)
/source/blender/editors/SConscript (+2, -1) (Diff)
/source/blender/editors/screen/screen_ops.c (+17, -1) (Diff)
/source/blender/editors/space_api/spacetypes.c (+5, -3) (Diff)
/source/blender/editors/space_image/image_header.c (+1214, -16) (Diff)
/source/blender/editors/space_image/image_intern.h (+37, -1) (Diff)
/source/blender/editors/space_image/Makefile (+3, -1) (Diff)
/source/blender/editors/space_image/SConscript (+1, -0) (Diff)
/source/blender/editors/space_image/space_image.c (+356, -31) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021