Blender Git Commits

Blender Git "master" branch commits.

Page: 4800 / 5574

Revision fb32420 by Matt Ebb
December 28, 2008, 07:39 (GMT)
2.5 - Reworked the icon system a bit

* After several hours of manual dragging and typing the icon file is now
enlarged and completely reorganised logically, rather than scattered
throughout. This should provide a lot more room for growth, and is a
lot easier to work with (also allowing more space for toggle buttons
that require two icon slots next to each other). The icon grid has now
25 x 24 icons - hopefully this might last us for a couple more years :)

Some of the naming of icon defines is a bit ancient and can be cleaned
up a bit further. Other devs, if when bringing spaces back, it's
finding the wrong icon, or missing a define, try and look to see if
it's already existing in the new icon file, or drop me a note and I'll
fix it up.

Note: after these changes, older custom blender 2.4 icon
files won't work and will need to be updated to the new layout.

* Enlarged the icons themselves from 15x16 pixels to 16x16 pixels (icon
designer request). This is a more standard size, and is easier to fit
stuff in proportionally.

* Added a bunch more of jendrzych's icons that weren't added previously
since there wasn't space in the icon file (including a few more
modifier icons)

* Tweaked the outliner somewhat, so that instead of just showing a
generic 'object' icon for all objects, it shows 'object type' icons,
per object type. This makes the outliner a lot more useful for browsing
at a glance - a huge row of identical 'object' icons doesn't really
give much useful information. See here:

http://mke3.net/blender/devel/2.5/outliner_obtypes.png
Revision 452f1d1 by Joshua Leung
December 28, 2008, 04:13 (GMT)
2.5

- Action Editor: Snap Current Frame to Selected Keyframes
- Change time operator - removed old unnecessary code

Revision bb02d1f by Michael Fox
December 28, 2008, 01:28 (GMT)
2.5
******
Ported object selection tools
- (de)select all
- invert selection (ctrl-i)
- select random ( numpad *)

each selection tool is own operator , mouse selection is seperated again to own operator

select random has the hard coded fac of 50 as there is no number popup developed yet

to be ported: select by layer and select by type
December 28, 2008, 00:42 (GMT)
* hrmpfs :]
December 28, 2008, 00:38 (GMT)
* clean up some warnings.
December 28, 2008, 00:18 (GMT)
* /W4 accidently slipped through.
December 28, 2008, 00:08 (GMT)
2.5 / Nodes
* WIP selection operator.
- selection is made, but redraw is still missing.
December 27, 2008, 20:22 (GMT)
2.5 / SCons
* make sure we can build WITH_BF_PYTHON=False
December 27, 2008, 17:43 (GMT)
2.5

Anim playback part 1 (needs more test, will do after commit)

- added the update_for_new_frame() back
- proper evaluation of time change notifier in WM level
- fixed redraw flushes for menus while animation plays.

December 27, 2008, 16:35 (GMT)
* converting operator props to strings was using a float as in int.
* PyOperators were always calling the python functions with default args.
* Made operator prints only happen when G.f & G_DEBUG is enabled.
December 27, 2008, 16:09 (GMT)
2.5

Notifier system upgrade, based on Brecht's doc.
Implementation notes:
http://wiki.blender.org/index.php/BlenderDev/Blender2.5/DataNotifiers#Implementation

In short: let's try to strictly communicate in a notifier what happened.
The listeners then can act themselves. It also means that a frame-changed
notifier doesn't send out redraws, the editors themselves can decide.

December 27, 2008, 14:52 (GMT)
python operators (in bpy_opwrapper.*)
This means you can define an operator in python that is called from C or Python - like any other operator.

Python functions for invoke and exec can be registered with an operator name.

keywords are read from the python exec() function, then used to create operator properties. The default python values are used to set the property type and defaults.

def exec(size=2.0, text="blah"): ...

is equivalent to...
prop = RNA_def_property(ot->srna, "size", PROP_FLOAT, PROP_NONE);
RNA_def_property_float_default(prop, 2.0f);

prop = RNA_def_property(ot->srna, "size", PROP_STRING, PROP_NONE);
RNA_def_property_string_default(prop, "blah");


TODO -
* make use of events
* return OPERATOR_CANCELLED/OPERATOR_FINISHED.. etc
* add support for array args
* more testing

Revision 86886cb by Joshua Leung
December 27, 2008, 11:44 (GMT)
2.5 - Action Editor

* Started porting back keyframe editing tools for the Action Editor/Dopesheet. Currently, only Snap (Shift-S) and Mirror (Shift-M) are functional.

* Added keyframe-editing API method for ensuring that all IPO-curves are left in a valid state after modifiying the values of their keyframes.

* Added operator-register flags for most of the operators. Only mouse-select doesn't have it for now (as there's not much useful info stored, and no exec callback).
Revision 032adf7 by Michael Fox
December 27, 2008, 10:54 (GMT)
2.5
*******

Made the framework for selection operations ( invert selection, select random) to be handled by a single operator, atm only normal/mouse selection is possible

to be ported
- invert selection
- select random
- select by layer
- select by type
Revision b6ac77f by Joshua Leung
December 27, 2008, 05:24 (GMT)
2.5 - Assorted comments, and made the default size of the Action Editor more sensible.
December 27, 2008, 04:55 (GMT)
run python when starting blender like 2.4x does (was start/stopping python for each script before)
This way python can call the operator to run other scripts
eg...
bpyoperator.SCRIPT_OT_run_pyfile(filename = "myop.py")

Revision 017cb7a by Joshua Leung
December 27, 2008, 04:30 (GMT)
View2d: Tweaked operators/keymaps to allow so that view will scroll when zooming the view is not possible.
Revision 8bd12eb by Michael Fox
December 27, 2008, 01:29 (GMT)
2.5
******

Set the render border operator

- Hotkey same as old (shift-b)
- behavior is the same as old, even draws the same
December 26, 2008, 20:50 (GMT)
2.5 / Nodes

* bring back more code that got lost after careless revision jumping.
December 26, 2008, 20:44 (GMT)
2.5
* when tracking a crasher I did svn update to specific revisions, updating back and forth somehow made some of my changes disappear in bitheaven. Bringing back aspect once again (rest of todays commit will follow soon).
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021