Blender Git Commits

Blender Git "master" branch commits.

Page: 4809 / 5574

December 17, 2008, 20:52 (GMT)
FFmpeg upgrade to revision 12758 (avformat version 52.13): support libavdevice for video capture in VideoTexture module (BGE). Makefile, CMake, scons updated. FFmpeg binaries will have to be rebuilt for certain OS (irix), win32 binaries already up to date. You MUST do a clean rebuild after this patch. Scons users: pay attention that the config/<os>-config.py files have changed, adapt your user-config.py in consequence
December 17, 2008, 19:40 (GMT)
2.5

Added operator for moving area to 'full screen'.
This is instable with tooltips on... fishy stuff then goes on,
which Brecht will first look at. :)

December 17, 2008, 17:33 (GMT)
2.5

Added screen-set notifier. Works for arrow keys now. For those who
know the messy old code, admire the simple 2-function call method
now :) Only context setting is messy a bit, that'll be solved.

Also: removed redundant code, and move freeing window handlers up
one level; windows can keep their handlers while screen switches.

December 17, 2008, 16:53 (GMT)
UI:
* Changed pupmenu function name and added back some standard popups.

December 17, 2008, 16:21 (GMT)
2.5

Patch from Michael Fox; adding operator + key definitions for arrow keys,
to change frame.

December 17, 2008, 15:51 (GMT)
2.5

Small commit, too much fun to not do separately:

- removed notifier restriction to go only to own window, so multiwindow
setups redraw correctly. (when other windows show other scenes we have
to handle still).
- fixed cursor type outside of window (got stuck to area-move cursor).

December 17, 2008, 15:38 (GMT)
2.5

- Made a nice generic 'OK confirm' implementation for operators.
Just use in operator type definition this line:

ot->invoke= WM_operator_confirm;

It will autmatically use operator name for asking OK. It will
also use properties (if set before).

Note for Brecht: the test okee_operator() you coded could better not
be used in operators themselves.

In future we can also add menus that get automatically generated
based on operator properties. Like 'add constraint' showing the
constraint types.

- Added this confirm call for most of the keys you'd expect it for.
(user settings, delete marker, rip area, split region, etc).

- Cleanup: moved ed_markers.c to the util/ directory, it doesnt belong
in space_time. Also made separate function for the marker keymap
definition.

- removed ancient redraw notifier from ghost event level (every key
press gave full screen draw)



Revision 616edcc by Joshua Leung
December 17, 2008, 10:25 (GMT)
View2D: Cleanup of presets and fixed errors in various views

Now, preset view configurations are only to be used if they define all (scrollers not included) relevant settings for the view they are set for. This should be less confusing than in the previous situation with V2D_COMMONVIEW_TIMELINE stuff.

One implication of this though, is that all Animation Editors (for example), will have to define their own version of the relatively commonly shared info. However, given the great diversity in the range of settings each have, this should not be too much of an issue.

Also, added a 'standard' view config for main 'window' regions. At this stage, it is recommended that this view config should be used only as a placeholder template on which a set of custom settings could be based. I've put it into use for the buttons window/scripts window/info window so far.
December 17, 2008, 05:40 (GMT)
* commit r17900 by Genscher was wrong.
- Instead of defining such defines for the entire codebase in Blender.py, add
the right checks and definitions to the places where it matters.
- Only check+set WITH_BULLET instead of also GAMEBLENDER=1
- NOTE: No global defines allowed in BlenderLib.
December 17, 2008, 00:41 (GMT)
Reverting revision 17417 which broke cloth collisions which check also in blenkernel/intern for WITH_BULLET
Revision 7714f17 by Joshua Leung
December 16, 2008, 22:57 (GMT)
Applying scons compiling fix for windows/mingw (to get compiler warnings to show up). This has already been applied in other branches too
December 16, 2008, 21:07 (GMT)
Flatten and Cut Out tools for correcting errors in strokes.

Ogg Video: http://blenderartists.org/~theeth/bf/etch-a-ton/gesture_command.ogv
Vimeo: http://vimeo.com/2546077
December 16, 2008, 20:03 (GMT)
UI:
* Added support for defining properties for operator buttons, with
uiButGetOperatorPtrRNA. Needed to cleanup a hack that was there
for operator properties in RNA, now a separate OperatorProperties
type is used for storing operator properties, instead of being part
of the Operator type itself.
* Allow selecting menu items with mouse release instead of press again.
* Fix some cases with hanging tooltips in the UI.

December 16, 2008, 18:42 (GMT)
2.5

More notifier and redraw cleanup

- notifiers are not filtered anymore, apart from window/screen notifiers,
they get to all regions.
- fixed drawing of 'action zones' in areas.
- added support for basic multilayer draw, like for action zones now,
and future other area decorations (tabs, region handlers)
check: ED_area_overdraw_flush()
ED_area_overdraw()
- bugfix in UI redraw tags, it was calling region pointer in free'd
data
- added notifier for marker-changed
- added keymap for markers to ipo window



December 16, 2008, 17:36 (GMT)

UI:
* Only open tooltip when the mouse is still over the button.
* Remove an unnecessary redraw call, though the two mentioned
in the previous commit seem to be working OK (it's for action
buttons when you move the mouse away from the button, holding
the mouse button down).
* Fix missing alt key in key event strings.

December 16, 2008, 16:32 (GMT)
Added "bpydoc" to the global namespace of python scripts, making documentation available no matter what data is open in the current blend file, Directory type was also missing from the subtype enum causing the test rna-dump script to fail.
December 16, 2008, 13:49 (GMT)
2.5

Test for Brecht: this line makes drawing buttons fine.
However note:

- redraws on lines 3107 and 3024 don't do anything
- tooltip timer is messing with redraws too, if you
have tooltips on, it continuously sends redraws.
- I would code tooltip to reset on any mouse move,
and only start timer when mouse is still completely.
That would make them appear much more quietly.


December 16, 2008, 13:19 (GMT)
2.5

More notifier cleanup;

- removed view2d sync notifier, its data operations are too complex
for UI hints/notes, direct calls work too :)
- updated missing gpl header in region file

Noticed weird delay on menu refreshing now... will check.

December 16, 2008, 12:32 (GMT)
Patch from Banlu Kemiyatorn
replace VecMulf(var,-1) with new VecNegf(var) function.
December 16, 2008, 12:28 (GMT)
2.5

Work on getting notifiers in shape.

- Most important: local (to own region or area) redraw notifiers
have been depricated. This is not a good or correct notifier anyway.
Notifiers should be signals to other areas.

- Instead use these 2 functions:
ED_area_tag_redraw(area);
ED_region_tag_redraw(region);
It seems to me good convention to keep the area/region redraw tag
itself protected everywhere, for future improvements.

- Also added a basic WM function that checks overlapping regions,
and flushes redraws to underlying regions. This makes menus and
buttons allow to only send local region redraws.
(Brought back two "swapbuffer indicators" to test this.

- Todo: area 'action zone' redraws, and fixing other notifiers...
sending data pointers in a notifier seems to be bad idea.



By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021