Blender Git Commits

Blender Git "master" branch commits.

Page: 4653 / 5574

Revision 823bf89 by Joshua Leung
July 7, 2009, 23:33 (GMT)
NLA SoC: Clarifying the error message for adding transitions

NOTE: transition strips can only be added between two selected action-clips that have a gap (but no other strips) between them, and are in the same track.
July 7, 2009, 19:13 (GMT)
- slowly starting FBX exporter conversion
- added Bone.matrix and Bone.armature_matrix
July 7, 2009, 19:07 (GMT)
made rtbuild object_heuristic_spliter faster
I think its something like:
old was: 4*nlogn + 3*(n*6)
new is: (2*nlogn + 3*(n*6)) * f, with f<1

Still missing changing the sorting function to an introsort instead of qsort
Other options like bucketing sort may be worth trying (for very large trees)
July 7, 2009, 17:30 (GMT)
2.5

- Scrollers now only disappear for regions with a fixed total view, like
lists, buttons, channels. More or less infinite views keep scrollers to
indicate that you can still pan or zoom further.

- Nodes: put back SHIFT+D "Add duplicate"
(Also fixed duplicate objects menu name... it should be a bit more
descriptive)

July 7, 2009, 15:42 (GMT)
*added Object SAH support to rtbuild:
only for 2childs splits
with "worse case heuristic" means each child is considered to have a cost linear on the number of leafs
no termination criteria

number of BB test/hits expected to "reduced" by some factor
tree building is also expected to be slower as previous split was "object mean", which is quite fast to evaluate
Revision f8c344b by Joshua Leung
July 7, 2009, 12:17 (GMT)
NLA SoC: Meta Strips + F-Modifiers

F-Modifiers now work on 'all' types of NLA Strip. To get them working on Meta-strips, F-Modifiers on the Meta strip must be applied on top of those for child strips. For now, this is done by joining the lists of modifiers, and evaluating the joined list.

Currently, Transitions don't work that great with F-Modifiers yet (only the endpoints get evaluated with the F-Modifiers). Solving this is for another time...
Revision d1677e3 by Joshua Leung
July 7, 2009, 11:37 (GMT)
NLA SoC: Recoded way that Meta-Strips are Evaluated

Previously, the quick-hack I coded for Meta-strips evaluation didn't really take into account the possibilities to use Meta-Strips as strips in their own right - i.e. reversed, muted, time-mapping-curves, influence-blending - were all unavailable.

This commit makes the aforementioned capabilities of other strips available for Meta-Strips too. The evaluation is now kind-of recursive (as with most of the other methods which take them into account) so that each 'level' of strips get evaluated correctly within their frame-of-reference.

TODO:
* F-Modifier support for Metas...
Revision e22fefc by Joshua Leung
July 7, 2009, 10:25 (GMT)
NLA SoC: Fixed bug with NLA-Transform

Strip-sorting code was buggy, as it was trying to access an invalid pointer, so the call to sort strips after transform was temporarily disabled in previous commits.
July 7, 2009, 08:38 (GMT)
Integrated unit testing framework with scons on Linux.

I needed this to make sure that BKE_copy_images works properly,
probably will be useful in future.

Using Check framework (http://check.sourceforge.net/doc/check.html/index.html).

WITH_BF_UNIT_TEST option builds 'alltest' program under [BUILDDIR]/bin,
which, when executed, runs unit tests, currently only 1.

Example output:
----------------------------------------------------------------------
Running suite(s): Image
0%: Checks: 1, Failures: 1, Errors: 0
tests/alltest.c:74:F:Core:test_copy_images:0: Expected //bar/image.png to be translated to /tmp/bar/image.png, got /tmp/bar/image.pn.
----------------------------------------------------------------------

Spent lots of time (a couple of days actually :) to figure out how to
link the test program with Blender libraries. As it turned out there
are circular dependencies among Blender libraries. GCC by default
doesn't expect circular dependencies - dependant libs should precede
libs they depend on.

The magical --start-group linker option helped to solve this
(http://stephane.carrez.free.fr/doc/ld_2.html#IDX122).

Also:

- added bpy.util module. bpy.sys.* functions will move here later
- added bpy.util.copy_images that uses BKE_copy_images
- export_obj.py uses bpy.util.copy_images
Revision a86d20e by Joshua Leung
July 7, 2009, 07:29 (GMT)
NLA SoC: Quick hack - Reversed playback

Animations can now be played back in reverse, by clicking on the reversed-playback button in the TimeLine header beside the play button (NEW ICON NEEDED HERE).

I'm not sure how well this works with sound, but from what I gather, this can be quite useful for animators to use.
July 7, 2009, 07:25 (GMT)
2.5 filebrowser: previous/next + bugfix + elubie's changes and cleanup
* Previous/Next Folder browser
* bugfix: "open most recently opened directory".

* Previous and Next functionalities:
- use BACKSPACE to navigate to previous folders
- use SHIFT+BACKSPACE to navigate forward
- once you change the folder by other ways the forward folder list is cleared

* bug fix: the sfile->params->dir set through ED_fileselect_set_params wasn't correct. According to the code taking the settings from the existing (previous) filebrowser is a temp solution. In that case this is a fix for a temp solution :)
(changes in: wm_event_system.c, filesel.c and ED_fileselect.h)

** Andrea(elubie): we can get away of the folderlist_clear_next test if we manually pass a boolean to file_change_dir (e.g. file_change_dir(sfile, true)). I tried not to mess up with your changes here. It's slightly slower (and maybe hacky) but its's more conservative IMHO.

(my first commit to 2.5 ... that was a good reason to put my paper on hold :p)
Revision 761241f by Joshua Leung
July 7, 2009, 06:56 (GMT)
NLA SoC: Current Frame can now be negative

This commit is quite experimental, and might have to be reverted, but in quite a few places, the cleanups from this commit were already necessary.

* I've left most of the image-handling functions alone, since I'm not sure how well they cope with negative indices.
* Start/End frames cannot be negative for now... any specific reasons why they should be negative?
Revision dd42ad5 by Joshua Leung
July 7, 2009, 06:39 (GMT)
NLA SoC: Small cleanup in Graph Editor struct code (obsolete + commented out stuff)
Revision 6a320f3 by Joshua Leung
July 7, 2009, 06:21 (GMT)
NLA SoC: Auto-Snapping Fixes (Transform)

Snap to nearest-second works again for NLA and Graph Editors
Revision 5fc61f0 by Joshua Leung
July 7, 2009, 06:16 (GMT)
NLA SoC: Fixes for bugs in transform code from previous commit

* The code to move strips between tracks now works (though it can still be a bit too eager to change tracks half-way through some transforms).
Strips are moved up/down one strip at a time, depending on whether there is any space in the next-track in the direction you direct it to move in.

* Auto-snapping works again. Also enabled snap-to-marker option for Graph Editor here.
Revision 2edef12 by Joshua Leung
July 7, 2009, 05:41 (GMT)
NLA SoC: Transform Code for NLA-Strips recoded (still buggy)

Recoded the Transform code for NLA-Strips so that they can now be moved between strips and will not get truncated when they get moved into other non-moving strips.

Todos:
* The current code for moving strips between tracks is buggy (only goes up, and has a tendency to move up without being told to)
* Auto-snapping doesn't work yet...
Revision 905b138 by Joshua Leung
July 7, 2009, 02:12 (GMT)
NLA SoC: Start of integration of Meta-strips in Transform

* Chains of selected strips are now converted to meta-strips before transforms begin, and converted back afterwards. This simplifies the transform code needed in later stages...

* Transform-flushing code for Meta-Strips should now work. There seems to be a little bit of numeric inaccuracy problems somewhere, as two strips which met at the same frame can get separated when scaling.

* Meta-strips now draw with proper text identification

* Snapping strips now properly clears meta-strips if a moved strip needs to be moved into a new track to be accomodated.

* Fixed a filter used by a selection-operator.
July 6, 2009, 19:45 (GMT)
*Added BLI_memarena on bvh
*Median split support on rtbuild
July 6, 2009, 17:29 (GMT)
2.5
* fix for RNA generation dependency in MSVC projectfiles
* added missing include
July 6, 2009, 15:35 (GMT)
*fix (forgot to multiply by BB size)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021