Blender Git Loki

Git Commits -> Revision 029bbb3

Revision 029bbb3 by Ton Roosendaal (master)
January 14, 2009, 19:26 (GMT)
2.5

Editmesh: add primitive basics back. Had to clean up a load of
crap there... but it's sorta in control, so I think Shul can
pick it up again.

Test: ctrl+0 adds plane, or ctrl+9 adds grid.

Notes for Shul:
- i've added a transform function, which gets correctly passed
on to the add_prim function, should work for all object
transforms. Only the code inside add_prim might be needed
to check (it uses 4x4 mat now, not a 3x3)

- The old code with buttons has been ifdeffed out, check for
user input and make it rna properties, which get read
in the exec(), and handed over to the add_prim. Set them
default now to the values from old buttons.

- Operator naming is preferred lower case, I gave this
a new name.

- check a bit on formatting code, but don't use the old code
as example! Look also at ED_keymap_mesh() for example.





Commit Details:

Full Hash: 029bbb3489c247252491a6ab9ba5a231513f86df
SVN Revision: 18509
Parent Commit: 0d05b2c
Lines Changed: +171, -110

6 Modified Paths:

/source/blender/editors/mesh/editmesh.c (+13, -12) (Diff)
/source/blender/editors/mesh/editmesh_add.c (+141, -67) (Diff)
/source/blender/editors/mesh/editmesh_lib.c (+1, -1) (Diff)
/source/blender/editors/mesh/mesh_intern.h (+2, -2) (Diff)
/source/blender/editors/mesh/mesh_ops.c (+10, -27) (Diff)
/source/blender/editors/space_view3d/view3d_header.c (+4, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021