Blender Git Commits

Blender Git "master" branch commits.

Page: 5377 / 5574

May 8, 2005, 20:10 (GMT)
Timline goodies;

- Mkey while ALT+A inserts markers.
Note for Matt; You forgot to check for 'val'. The delay in tuho I brought
back to max 1 frame. Delays are common in realtime gfx apps, the picture
you see is old, and its possible you press a key while next frame is
already drawing, and then it has to increase the frame value still... :)

- RMB escapes from anim playback

- on activate object, Timeline redraws too

- Added keyline drawing for Material Ipos. The CTRL+Page keys work with it.

Softbody:

- Renamed buttons to call "Spring constant" now "Stiff(ness)" and the
"Friction" became "Damping".
May 8, 2005, 12:00 (GMT)
Another Transform todo: correct Undo names for using Transform.

Martin; I've added calls like:
BIF_TransformSetUndo("Add Duplicate");
In advance of calling transform itself, to indicate that this is the
string name to be used for Undo, and also has to be done on ESC.
To make that possible I had to add a memset() to zero the global struct
TransInfo. Nicely done with if(Trans.mode==TRANS_INIT)

Not sure how this relates to setting constraints in advance... I always
found it tricky to work a non-initalized global struct. :)
May 8, 2005, 11:24 (GMT)
UI goodies & cleanup

- TimeLine: Marker grabbing works now. Use GKEY or select+drag, as usual
Holding CTRL will step with 1 second (corrected for ntsc dudes yes!)
Also added this in header pulldown

- Time values and Time grid draw fixed for Seconds display. It used to
draw steps of 2/5/10/20/50/100 etc. frames. Now does steps in seconds.
Again corrected for "Frames/Sec" value.

- "Frames/Sec" button redraws TimeLine, Secquencer, etc

- Bug fixed in editing Theme for TimeLine (was editing Image Select...)

- Added Grid color to Theme choices for Ipo, TimeLine, Sequencer, NLA,
Action, Sound. Was missing!
May 8, 2005, 08:16 (GMT)
Added: new Pivot option, "Around active object".
Works nice quick to rotate a group of Objects around a defined center,
without hassle with the 3d cursor. Especially for the 3D Manipulator.

In EditMode/PoseMode this option falls back to "Centroid", as does the
"Individual centers" option already.
May 7, 2005, 21:04 (GMT)
Fix for negative scaling & Mirror menu in Object mode (CTRL+M)
Hope Martin likes this simple hack. :)

Also; added flag in constraint to denote whether its local or not. That
way its possible to:

- prevent local scale and rotate on multiple objects to change own position
- draw constraint lines cleaner
May 7, 2005, 20:15 (GMT)
Dang, flipped a zero and one!
Error in commit of 5 hours ago... normal alignment didnt work OK for the
case a face is selected.
May 7, 2005, 15:50 (GMT)
Patch from Tom Musgrove to bypass extrude popup on singular selections...
Implementation had some issues though, since:

a) Blender has no stats available that tells amount of selected edges
b) Bypassing the popup should be 100% accurate
b) Once you do that, the popup should actually only show possible
choices as well.

So! I've added a G.totedge and G.totedgesel, also being printed in the
info header. Using this variable the extrude popups could be limited too.

Also: made 'normal alignment' for edge-only selections work when the
normal wasn't pointing OK. Now it aligns the Z axis with the edge itself
Exact algorithm for choosing a 'normal' and 'plane' still is weak.
May 7, 2005, 12:31 (GMT)
Added two UI level warnings on using Softbody;

- On leaving editmode, it deleted the Baked result automatically. Since
that's an invisible and destructive ction, I've inserted an "OK?" menu
here for it.
- Particle Deflectors themselves cannot be a Softbody (or viceversa).
Added a LABEL button to denote this when a user tries to set that.
May 7, 2005, 11:13 (GMT)
Commit of 2 weeks ago to correctly find normals for extrusion had a typo...
started loop with "->last" instead of "->first".
This caused old faces that should be deleted on extrude to remain there.

Thanks Jean-Luc for finding it!
May 6, 2005, 13:37 (GMT)
* integrate bFTGL with Scons
* add some ENV = os.environ's here and there (help those who have msvc toolkit installed)

Note for OSX users: check from your config.opts the correct info for the precompiled ftgl lib is used.
May 6, 2005, 12:12 (GMT)
Fix for crash in Mesh EditMode "Join triangles" (JKEY). Found & code
provided by Campbell Barton, thanks mate! :)

Note; this tool gives quickly bad results... also errors printed in the
give_quad_verts call. Who likes to attack this!
May 5, 2005, 20:56 (GMT)
Bug fix #2512

When joining Meshes, with the active on having TFaces, and other Meshes
not, the new TFaces were created but not initialized.
May 5, 2005, 20:39 (GMT)
Bug fix #2515

Bumped up ipo limit for material "normal" mapping to 25.0 max.
May 5, 2005, 20:36 (GMT)
Bug fix #2414

Quat XYZW was mixed up in NKey panel for Armature... now OK.
May 5, 2005, 20:07 (GMT)
Replaced the round() call with floor(0.5 + ).
Apparently MSVC doesnt have it...
May 5, 2005, 19:37 (GMT)
Finetuning Timeline;

- Added Ckey for 'center view around current frame'.
- Completed View pulldown menu with remainder of options.
- prevented negative scaled views when start > end frame
May 5, 2005, 18:31 (GMT)
Two little issues for Timeline window;

- Using Arrowkeys to change frames didn't give proper redraw
- Option "Record" now tied to the User-preset "Auto key insert". It is
no user preset anymore even, I thought to leave a button in the User-
presets for the time being though...
May 5, 2005, 17:20 (GMT)
Button image changed for new space type. Had to move some icons away...
May 5, 2005, 17:19 (GMT)
Added the new Timeline Window, copied from Tuhopuu, coded by Matt Ebb.

Main change is that it's an own Space type now, not part of the Audio
window... the audio window should restrict to own options. This way
functionality is nicely separated.

Since it's the first time I added a new space (since long!) I've made an
extensive tutorial as well. You can find that here:
http://www.blender3d.org/cms/Adding_new_Space_Window.557.0.html

Notes for using timewindow;

- Add time markers with MKey
- CTRL+M gives option to name Marker
- Markers cannot be moved yet...
- Pageup-Pagedown keys moves current frame to next-prev Marker
- Xkey removes Markers

- If an object has Ipos or an Action, it draws key lines
- CTRL+Pageup-Pagedown moves current frame to next-prev Key

- Press S or E to set start/end frame for playback

Notes about the implementation in Tuhopuu:

- Add new Marker now selects new, deselects others
- Selecting Marker didn't work like elsewhere in Blender, on click it
should deselect all, except the indicated Marker. Not when holding SHIFT
of course
- Not exported functions are static now
- Removed unused defines (MARKER_NONE NEXT_AVAIL)
- Drawing order was confusing, doing too many matrix calls
- Removed not needed scrollbar, added new function to draw time values.
(Has advantage the MMB scroll works not confusing on a scrollbar)
- Added proper support for 'frame mapping'
- The string button (name Marker) had a bug (checked str[64] while str
was only 64 long)
- String button itself didn't allow "OK on enter"
- Made frame buttons in header larger, the arrows overlapped
- Removed support for negative frame values, that won't work so simple!
May 5, 2005, 05:55 (GMT)
erased headers dirent.h and unistd.h
.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021