Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-09-02fix for error in recent commit, when audaspace is enabledCampbell Barton
2011-09-02minor warning fixes, also correct some float -> double promotions in ↵Campbell Barton
shadeoutput.c
2011-08-22Bugfix [#28217] Moving multiple selected action strips causes stripsJoshua Leung
to scale towards zero This is an attempted bugfix for a bug which seems to be very fickle to reproduce (it only happens sporadically after quickly jerking the strips around in a certain way). So far when testing, I haven't had any more problems after applying this fix, though it may just be unreliable testing.
2011-08-16Merging trunk up to r39447.Joerg Mueller
2011-08-15Code cleanup: add UNUSED_FUNCTION macro to avoid warning messages about unusedBrecht Van Lommel
functions.
2011-08-12Bye bye vile relics of extinct version control systems,Joshua Leung
Causing a flurry of refresh file prompts post-commit, Confusing local diffs and causing merge conflicts, Stating the obvious; redundant and useless... We shall not miss thou, blasted expand $keywords$
2011-08-07Sound clip NLA Strips for NexyonJoshua Leung
These are basically just for specifying when a speaker should fire off it's soundclip, and as such, many NLA operations are irrelevant for it. They can only be specified on object-level for speaker objects. I've still got some UI tweaks I'll need to work on in order for these to be able to be added even when the speaker doesn't have any NLA tracks yet. (EDIT: while typing this, I had an idea for how to do this, but that'll be for next commit). In the mean time, you'll need to add a single keyframe for the object, snowflake that action and delete the NLA strip before you can start editing.
2011-08-04Bassam Feature Request: "Auto Clamped" handles can now be set perJoshua Leung
handle/key This used to be a weird per-curve setting which would happen to get applied/work correctly if handles were set to "auto", and was a source of constant confusion for both old and new animators. The main effect of this handle-type/option was really to just ensure that auto-handles stayed horizontal, instead of tilting as the keys were moved. This commit simply changes this from a per-curve to per keyframe/handle setting.
2011-07-08NLA - Adding new actionclip strips no longer appends "Act: " to theJoshua Leung
start of the names. It should be clear enough what they are without this.
2011-03-28blenkernel: floats were being implicitly promoted to doubles, adjust to use ↵Campbell Barton
floats.
2011-02-27doxygen: blender/blenkernel tagged.Nathan Letwory
2011-02-27pedantic warning cleanup, also remove texspace_edit() since its been added ↵Campbell Barton
using a different method.
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-13fix for warnings from Sparse static source code checker, mostly BKE/BLI and ↵Campbell Barton
python functions. - use NULL rather then 0 where possible (makes code & function calls more readable IMHO). - set static variables and functions (exposed some unused vars/funcs). - use func(void) rather then func() for definitions.
2011-01-20NLA backend code cleanups: Ensure all user-count management is doneJoshua Leung
via id_us_*() functions instead of direct access, for more security
2011-01-19NLA Editor: Swap Strips (Alt-F) and BugfixesJoshua Leung
1) Added a new operator to swap the order of strips within a track (Alt-F). This makes it possible to select two strips (or more precisely, two islands of consecutive + selected strips) in a single track and change the order in which the appear without needing a extra tracks to perform the move through. As usual, the non-overlapping rules apply, so there may be some cases where swapping in this way is not possible without adjusting the intermediate strips first manually. Otherwise, everything just gets too tricky to manage deciding what adjustments should be done to the obstructing strips to make a fit. 2) Freeing meta-strips didn't free their local data properly (i.e. modifiers they may have had). 3) Adding strips to tracks, where the endframes for the strips overlapped would cause problems with incorrect ordering of strips. I still need to double-check whether evaluation works ok in this case...
2011-01-12Patch [#24808] B-Bone display sizeJoshua Leung
Submitted by Dan Eicher (dna) Adds the ability to resize b-bones (ctrl+alt+S) using the python api Bone.bbone_x Bone.bbone_z
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2010-11-11NLA Transform Bugfix:Joshua Leung
Transforming strips into locked tracks meant that they were not unlocked properly (i.e. they stayed as temporary "meta" strips). This is now taken into account as part of the step which checks if there's any space for them in those tracks.
2010-11-07de-duplicate unique naming logic, was used in 7 different places, convert ↵Campbell Barton
into a function call.
2010-11-03bugfix [#24445] NLA reverse option flickersCampbell Barton
UnMapping the reversed NLA strips timing was incorrect.
2010-11-01bugfix [#24477] Can easily create bones with duplicate namesCampbell Barton
- fixed this error 7 different functions (deform groups, uv layers & similar). - support for numbers over 999. - renamed splitIDname() to BLI_split_name_num(), moved to BLI_path_utils
2010-10-17- fixed remaining unused warnings.Campbell Barton
- omit render code from this warning (cmake only), until render branch is merged. - moved -Wunused-parameter warning to apply to all C code in blender (not just ./source/blender), (cmake only).
2010-10-16most unused arg warnings corrected.Campbell Barton
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating). - mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-08-12patch [#23280] Generated suffixes of strip names contain random character ↵Campbell Barton
(revision 31262) from Torsten Rupp (rupp)
2010-05-07ghash alloc string from render branchCampbell Barton
svn merge https://svn.blender.org/svnroot/bf-blender/branches/render25 -r28571:28573 svn merge https://svn.blender.org/svnroot/bf-blender/branches/render25 -r28575:28576
2010-04-18remove config.h references, was added for automake build system rev around ↵Campbell Barton
124-126 but isnt used by any build systems now.
2010-04-02rna naming, *_frame --> frame_*Campbell Barton
2010-04-01Assorted animsys fixes/tweaks:Joshua Leung
* Fixed all the dangerous code added in 27907. Using the code there, scripters could corrupt animation files in ways which would render them useless, with channels not appearing in any animation editors, and others not getting evaluated at all. * Partial fix of bug 21818, by disabling destructive replacement of keyframes. Will followup this commit with a more comprehensive commit which gets rid of the rest of the problems, by incorporating some requests from Durian team. * Fixed problems with users being able to see+edit the name of the active Keying Set in the Scene buttons. There is still a bug though with the list widget given how the indices are now interpreted...
2010-03-25Adding menu entries for the new hotkeys (change keying set)Joshua Leung
2010-03-21removed unused includes, except for physics and particle related filesCampbell Barton
2010-02-18constraints unique name length was set too long (could overrun the buffer), ↵Campbell Barton
use sizeof() with other instances of BLI_uniquename too
2010-02-12correct fsf addressCampbell Barton
2010-01-24NLA Editor: Sync Action Extents with Referenced RangeJoshua Leung
This operator can be accessed from the "Action Clip" panel, and is used to include keyframes that have been added to a strip already in the NLA. Although this is not a recommended workflow, having this ability is useful at times.
2010-01-18NLA (Un)Mapping Fixes:Joshua Leung
Hopefully this time I've finally found the proper fix for this. At least in the mini test-suite I made for this, the new inverse process seemed stable enough. --- Also, tweaked the keyframe drawing code so that it doesn't convert the handles too when performing NLA mapping. This should provide some minor speed boosts when drawing keyframes under these conditions...
2009-09-30Animato: BugfixesJoshua Leung
* #19501: Only the first user of multi-user IPO's were getting converted to AnimData. Now, this AnimData gets converted multiple times - once for each user. This will mean that multi-user actions will no longer be multi-user after conversion though, although this could be fixed manually if there really is such a need. * #19503: Nasty memory leaks when duplicating objects with AnimData Fixed a few little oversights made when coding the copying code for NLA-data (which resulted in exponential copying-loops of doom), and sanitised the AnimData copying code for ID-blocks to be simpler to manage.
2009-09-14use static functions where possible for some local functions.Campbell Barton
2009-08-252.5 - NLA Bugfixes:Joshua Leung
* F-Modifiers on F-Curves can now taken into account when calculating the extents of actions. This is used when there are some NLA strips and some action with some F-Modifiers is being played back on top of those. * The toggles in the NLA channels list now respect the width of the list instead of using a hardcoded position. This means that clicking on these toggles when the list is resized works again.
2009-08-02NLA Tweaks:Joshua Leung
* "Pushing down" the action to make a new strip will now make the new strip the 'active' one. * 'Active Action' field in Animation Data panel is now editable as long as we aren't in "tweakmode"
2009-07-24NLA - Auto-Blending + 'Smarter' Extend BehaviourJoshua Leung
* Auto-blending (blend in/out values get determined based on 'overlaps' of strips) now occurs after transforming strips. Where islands (continuous chains of strips) occur, only the ones on the ends of the islands will get or contribute to auto-blending. * Extend modes (other than 'nothing') now get automatically determined (after transforms) so that moving strips will no-longer cause problems. * Added a new option to hide influence curves in NLA. Also, made the line widths for these curves narrower, since the old setting was too ugly. * Pose copy/paste buffer now gets freed on exit
2009-07-11NLA SoC: Quick commit of skeleton of auto-blending setting code to be ↵Joshua Leung
completed later...
2009-07-11NLA SoC: Names for NLA Strips Joshua Leung
In order to be able to better identify NLA Strips (and to reduce the complexity of the text on them), I've implemented a name property for the strips. The names are made to be unique within the AnimData block the strip comes from, though this may not always happen if not enough relevant context info is present to validate this.
2009-07-09NLA SoC: Assorted cleanupsJoshua Leung
* Some cleanups aimed at giving some (neglible) speedups * Preparation for NLA-Strip keyframes to be editable
2009-07-08NLA SoC: Influence/Time properties for strips can now be animatedJoshua Leung
* These settings can now be edited + keyframed (using IKEY over the button only for now... other cases will fail) * Reshuffled some of the keyframing code to make this sort of thing easier to do. Also, restored corrections for NLA-mapping when inserting/removing keyframes. TODOS: * animation editors don't show these keyframes yet * the buttons don't change colour yet to reflect this state. How to do this efficiently? * allow keyframing of these in more places * more robust UI handling for this.
2009-07-07NLA SoC: Recoded way that Meta-Strips are EvaluatedJoshua Leung
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...
2009-07-07NLA SoC: Fixed bug with NLA-TransformJoshua Leung
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.
2009-07-07NLA SoC: Start of integration of Meta-strips in Transform Joshua Leung
* 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.
2009-07-06NLA SoC: Fixes for Meta-Strips and EditingJoshua Leung
* Split strip (YKEY) now plays nicely with Transitions and Metas. Meta strips get split up into their child strips, while transitions are ignored. * Wrapped Meta_Strip->strips in RNA * Bugfixes in Meta-strip API functions to silence some runtime-errors...
2009-07-06NLA SoC: More work on Meta-Strips Joshua Leung
* Added several API functions for Meta-Strips editing. One of these (flush transform) still needs a few tweaks before it does its job well enough for all cases. * Meta strips are now drawn with a purple-ish colour. The start/end points of the strips they encompass are shown with lines along the length of the strips, with lines starting from the top indicating start-points and lines starting from the bottom indicating end-points. * Meta strips can be made (i.e. strips can be assigned to meta-strips) by selecting some strips and pressing Shift-G. Meta strips can be removed by selecting some meta-strips and pressing Alt-G. * Strips can now be 'snapped' to start from: the current frame, the nearest frame, the nearest second, or the nearest marker; using the Shift-S hotkey. 'Islands' of adjacent selected strips occurring in the same track are moved together as a single strip so that the start-point of the first strip is on the sepcified time, but all the relative lengths of strips stay the same. Internally, temporary meta-strips are created to facilitate this.