Blender Git Commits

Blender Git "master" branch commits.

Page: 5439 / 5574

September 19, 2004, 11:47 (GMT)
Part one of editmesh.c refactoring. The huge file has been split in
logical parts, and include files altered to denote internal and external
functions.

include/editmesh.h: internal calls for editmesh_xxx.c files
include/BIF_editmesh.h: external calls for these files

src/editmesh.c: basic alloc/lists and in/out editmode, undo, separate
src/editmesh_lib.c: basic utility calls for all editmesh_xxx.c (no UI)
src/editmesh_add.c: add prim, add duplicate, add vertex/edge/face (UI)
src/editmesh_mods.c: selecting, transforming (UI)
src/editmesh_loop.c: loop tools like knife, loop select, loop subdiv (UI)
src/editmesh_tools.c: other tools (extrude, spin, etc) (UI)

And a new file:

src/meshtools.c: tools for Mesh outside of editmode (normals, draw flags)
Revision dab4606 by Jiri Hnidek
September 19, 2004, 10:41 (GMT)


- Cam (ideasman) improved speed of exporting
- I fixed indentation
September 19, 2004, 01:33 (GMT)
Convert and use actuators with no target object set.

Certain actuators (Add Object/Replace Mesh/Scene/Track To) used to always require a target, or they would not influence the scene. If the actuator target is always set from Python, this could be annoying.
Revision d701972 by Jiri Hnidek
September 18, 2004, 21:04 (GMT)


- Cam added function getUniqueName, which preserve overwriting of existing mesh.
- I removed fixed identing. It uses only tab for identing so Cam will not be fussed anymore:-).
September 18, 2004, 20:15 (GMT)
Evil commit! Nothing really changed except;

- EditVlak -> EditFace
- variables called 'evl' -> 'efa'
- functions with 'vlak' in it now have 'face'

Just thought was nice starter for editmesh recode...
September 18, 2004, 18:47 (GMT)
One small part of the Great Bpy Code Cleanup.
Add cvs $Id tag to files
Revision 03ccc18 by Chris Want
September 18, 2004, 18:36 (GMT)

For the Bass* people: pad plus/ pad minus moves nla strips up/down in
the nla editor.

Release note blurb:

Selected nla strips may be reordered down or up in the nla editor using
numpad plus/minus.
September 18, 2004, 18:34 (GMT)
- redo now also ctrl+y.
- made undo/redo display of previewrender nice
September 18, 2004, 13:58 (GMT)
Found little bug in undo system for editing Font objects. Causing
crash at undo after editing.
September 18, 2004, 13:25 (GMT)
OSX only: the Apple key now is a normal modifier in code, so can be
detected as others, LR_COMMANDKEY

Unline previous commit, Apple key doesnt map to control anymore, but is
handled separate where needed. Now only for undo (Apple-Z)
September 18, 2004, 12:12 (GMT)
Another step in the undo evolution.

- Made unified API for undo calls, to be found in space.c
BIF_undo_push(char *str)
BIF_undo(void)
BIF_redo(void)
These calls will do all undo levels, including editmode and vpaint.

The transition is work in progress, because mesh undo needs recode.

- New global hotkey CTR+Z for undo
Note: 'shaded draw mode' still is SHIFT+Z, the old CTRL+Z was to recalc
the lighting in shaded mode, which already became much more interactive,
like during/after any transform().
Recalc hotkey now is SHIFT+ALT+Z

CTRL+<any modifier>+Z is redo.

- For OSX users; the Apple-key ("Command") now maps to CTRL as well. This
disables the one-mouse-button hack for rightmouse btw, will be fixed in
next commit. At least we can use Apple-Z :)

- Old Ukey for undo is still there, as a training period... my preference is
to restore Ukey to "reload original data" as in past, and only use new
CTRL+Z for undo.

- Added undo_push() for all of editobject.c and editview.c. Meaning we can
start using/testing global undo in the 3d window. Please dont comment on
missing parts for now, first I want someone to volunteer to tackle all of
that.

- Since the global undo has a full 'file' in memory, it can save extremely
fast on exit to <temp dir>/quit.blend. That's default now when global undo
is enabled. It prints "Saved session recovery to ..." in console then.

- In file menu, a new option is added "Recover Last Session". Note that this
reads the undo-save, which is without UI.

- With such nice new features we then can also kill the disputed
Cancel/Confirm menu on Q-KEY.

- Added fix which initializes seam/normal theme color on saved themes.
They showed black now.... (Note: that's in usiblender.c!)
September 18, 2004, 06:03 (GMT)
Fixed PyObject_IsMT_Matrix
September 17, 2004, 21:30 (GMT)
curve_modifier() call was in makeDispList() already, and called twice,
causing initrender to free illegal pointer...
Revision e656ce2 by Kent Mein
September 17, 2004, 11:31 (GMT)


updated the documentation on how to add new image types which consisted of:
removed autoconf stuff and replaced with scons info.
Added info on how to make your format showup in the thumbnail viewer.

Kent
September 17, 2004, 10:36 (GMT)
Fixed crash caused by new (strict) rule for displists. Reminder: to signal
that a displist has to be recalculated, you only have to free it.

In the init_render_mesh() not all situations were checked OK.
Thanks Basse for finding it!
September 16, 2004, 19:31 (GMT)
Bug fix in code committed for hooks; mesh check for displist was on
wrong location... causing tremendous slowdowns!

Note: in previous commit some WIP slipped in.. not dangerous. Plus it
has a text typo fix (beaty)
September 16, 2004, 17:57 (GMT)
Bug 1568

Wrong usage of B_NOP code in button events (xxxx | B_NOP), which is useles
since it is defined as -1.

Reminder for all: use a B_NOP if you want a button event not to be passed
on to the event queues.
September 16, 2004, 15:32 (GMT)
Bug fix #1525

RayTransp didnt work on Nurbs anymore (2.34 error).
Just a normal flip problem...
September 14, 2004, 20:03 (GMT)
More Material settings: mirror and transparency.
Contributed by Joilnen B. Leite (pidhash)
September 14, 2004, 19:03 (GMT)
Lot of code... 2 new features:

1) Curve deform
http://www.blender3d.org/cms/Curve_Deform.392.0.html
Works simple as expected, but keep track of the rotation axis
in F7 buttons (Track X Y Z)
Only Mesh deform supported now.

Code changes:
- centralized deformation calls in curve_modifiers() mesh_modifiers()
etcetera. Here also other effects can be added like wave. Now the
evaluation order is fixed, but should become optional. It also doesnt
use the Displist anymore as deform-input. That latter part is unfinished
yet.
This code also is used for Hooks and will be needed for softbody

- made convention stricter that displists are being checked on in
drawobject(), this to prevent routines to make new displists recursively
(like armature does). Now a freedisplist() is sufficient to signal that
a new displaylist should be made.

2) Object Hooks
http://www.blender3d.org/cms/Object_Hooks.391.0.html
Support for Hooks is added to Mesh, Lattice, Curve and Surface objects.
For Armatures this would require some more work & research.
Main goal for this feature is to provide quick & simple access to the
underlying geometry in Objects on Object level, supporting hierarchies and
Ipos etc.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021