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
2013-11-20NLA Channel Drawing Refactor: Remove rest of old drawing code for NLA Track ↵Joshua Leung
channels NLA Track drawing has now been ported over to use the UI widgets like the rest of the anim channels do in the DopeSheet and Graph Editors. The main benefit of this for users is that these buttons will now show tooltips when you hover over them. Hopefully this will help make the "solo" buttons more discoverable. I've decided to postpone porting the "Action Line" channels to the widget system for now, since there are quite a few more issues there which need quite a bit more time to work through.
2013-11-20Remove old drawing code for NLA TracksJoshua Leung
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-19style cleanup: switch statements, include break statements within braces & ↵Campbell Barton
indent. also indent case's within the switch (we already did both of these almost everywhere)
2013-05-08code cleanup: remove references to BLI_rand.hCampbell Barton
2013-03-14use BLI_strncpy_rlen() rather then BLI_snprintf() when no formatting is needed.Campbell Barton
also replace sprintf with strcpy when no formatting is done.
2013-03-14Bugfix: Selecting AnimData "expanders" in AnimEditors works againJoshua Leung
Somewhere along the line, this functionality broke, even though the code to handle these settings was still in place for many of these. The main implication of this fix is that it should now be possible to select a particular AnimData block, which makes it possible to do things such as changing the action associated with that AnimData block (i.e. via the "Animation Data" panel in the NLA Editor), as well as other operations which I've had on the todolist for a while. Stay tuned!
2013-01-20removed incorrect comment in draw_nla_channel_list_glJason Wilkins
2012-12-13code cleanup: quiet warningsCampbell Barton
2012-12-12Holiday coding log :)Ton Roosendaal
Nice formatted version (pictures soon): http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.66/Usability Short list of main changes: - Transparent region option (over main region), added code to blend in/out such panels. - Min size window now 640 x 480 - Fixed DPI for ui - lots of cleanup and changes everywhere. Icon image need correct size still, layer-in-use icon needs remake. - Macbook retina support, use command line --no-native-pixels to disable it - Timeline Marker label was drawing wrong - Trackpad and magic mouse: supports zoom (hold ctrl) - Fix for splash position: removed ghost function and made window size update after creation immediate - Fast undo buffer save now adds UI as well. Could be checked for regular file save even... Quit.blend and temp file saving use this now. - Dixed filename in window on reading quit.blend or temp saves, and they now add a warning in window title: "(Recovered)" - New Userpref option "Keep Session" - this always saves quit.blend, and loads on start. This allows keeping UI and data without actual saves, until you actually save. When you load startup.blend and quit, it recognises the quit.blend as a startup (no file name in header) - Added 3D view copy/paste buffers (selected objects). Shortcuts ctrl-c, ctrl-v (OSX, cmd-c, cmd-v). Coded partial file saving for it. Could be used for other purposes. Todo: use OS clipboards. - User preferences (themes, keymaps, user settings) now can be saved as a separate file. Old option is called "Save Startup File" the new one "Save User Settings". To visualise this difference, the 'save startup file' button has been removed from user preferences window. That option is available as CTRL+U and in File menu still. - OSX: fixed bug that stopped giving mouse events outside window. This also fixes "Continuous Grab" for OSX. (error since 2009)
2012-11-04code cleanup: quiet -Wdouble-promotion, disabled this warnings for a few ↵Campbell Barton
files since its done throughout the code in some places.
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-12quiet some -Wshadow warningsCampbell Barton
2012-07-03More spell and typo fixes (mostly visualise->visualize, grey->gray, ↵Bastien Montagne
normalise->normalize).
2012-06-04Theme Colors for NLA Strips and DopeSheet SummaryJoshua Leung
* NLA Strip colors are now themable * Changed the "Active Action"/"Summary" colors to be a bit more muted. The new colors are now closer to those for keyframes, though they are still different enough to be clearly distinguishable. * Removed some colors wihch don't seem to be used (from NLA theme colors) * Added function to get theme colors + alpha as floats
2012-05-19style cleanup: whitespace/indentationCampbell Barton
2012-05-19code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also ↵Campbell Barton
replace do prefix with do_ for bool vars.
2012-05-08style cleanup: nlaCampbell Barton
2012-04-29style cleanup: function calls & whitespace.Campbell Barton
2012-03-26style cleanup: add braces around checks - 'if ELEM() {...}', confuses some ↵Campbell Barton
parsers that done expand macros.
2012-03-24style cleanup: mainly for mesh code, also some WM function use.Campbell Barton
2012-03-06style cleanup, brackets in else/if, some indentation.Campbell Barton
2012-03-01Spelling CleanupCampbell Barton
2012-01-11dynamicpaint had some incorrect string sizes for layers names, use BLI ↵Campbell Barton
string functions in more places too.
2012-01-11use BLI_strncpy and BLI_snprintf when the size of the string is known.Campbell Barton
fix for sequencer unique naming which was missed with string length update.
2012-01-11minor cleanup for string use - no functional changesCampbell Barton
- use more logical names for strings, noticed too many strings called `str` when reviewing name patch. - pass __func__ macro to uiBeginBlock(), quite a few names were wrong (copy/paste error).
2011-09-11replace magic numbers for flags for uiSetRoundBox();Campbell Barton
2011-08-30Fixes for snprintf usage:Brecht Van Lommel
* replace by BLI_snprintf in various places, note _snprintf on windows does not properly null terminate the string. * fix overflow in sequencer proxy code due to buffer being smaller than specified size. * fix some usage of snprintf as strcpy, this is will go wrong if the string contains % characters. * remove BLI_dynstr_printf function in gpu module, use BLI_dynstr_appendf
2011-08-28Assorted comment clarification in response to code review notesJoshua Leung
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-03Animation channels can now be renamed by Ctrl-Clicking on them, as inJoshua Leung
the Outliner Channels which can be renamed include: - Scenes, Objects, World, Material, Texture, etc. (i.e. "ID-blocks", or the dark and light blue channels) - Action Groups (green channels) - Action expanders (i.e. "CubeAction", "WorldAction", etc.) - Grease Pencil stuff Channels which CANNOT be renamed, as they mostly use hardcoded values or otherwise include: - Drivers expander - FCurves (they don't technically have a "name"; what is shown is just a user-friendly representation of their rna_paths)
2011-07-12NLA Drawing - More prominent communication of the "solo" featureJoshua Leung
* When a track is being solo'd, all other channels for that block are drawn darker * Strips in non-solo tracks are drawn flat shaded instead of with shading * Mute toggles are hidden (they wouldn't affect the result)
2011-07-12NLA Drawing Tweak - New icons for "solo" togglesJoshua Leung
Added some new star icons for the "solo" toggles in NLA editor. Unfortunately they look a tad scruffy alongside some of the other icons, although they should hopefully turn out to be more descriptive (especially when combined with some drawing tweaks I've got in the pipeline...)
2011-07-06NLA Drawing - When "Show Control Curves" option in View menu isJoshua Leung
disabled, the strips are drawn so that they take up less vertical space. Originally, the primary reason why these were taller than those in the other animation editors was really so that these control curves could be visualised adequately. So, when these aren't shown, we can afford to collapse the strips vertically. This should make it possible to fit more strips on screen to retime them. in some staggered fashion.
2011-07-05Reduce duplicate codeJoshua Leung
2011-07-01NLA Strip Drawing TweaksJoshua Leung
* Removed frame-number display from NLA strips. Indeed doing so makes things look cleaner/easier to identify. * When transforming NLA strips, the "temp-metas" (purple strips) get their frame extents drawn on either end, like in the sequencer, which seems to be easier to read than the ones inside the strips. --- The downside of this tweak is that there is no longer any visual feedback for which strips run reversed instead of forwards, as that used to be shown using the frame extents stuff.
2011-06-30Some tweaks to naming of channels in animation editors - thanks MattJoshua Leung
* F-Curves no longer show the name of the datablock of the property they affect if this is an ID-block. For example, transform curves for a cube won't get the "... (Cube)" suffix anymore. In these cases, it's relatively clear that these belong to the parent datablock, so doing this should be fine (and reduces clutter). However, for non-id data (i.e. subsurf modifier settings) or bones, this info still gets shown. In these cases, there is some ambiguity. * "ActiveAct: <...>" is no longer shown for NLA action channels (i.e. just the name of the action gets shown). This should make it easier to see at a glance what action is being used.
2011-06-27Texture Nodes AnimEdit supportJoshua Leung
2011-06-27AnimChannelFiltering - Material Nodes supportJoshua Leung
Animation for Material nodes is now shown in Animation Editors :)
2011-06-22Animation Channel Filtering Refactor - Part 3 (Visibility Flag Split)Joshua Leung
* This (big) commit is aimed at cleaning up the filtering flags used by the animation channel filtering code. The list of filtering flags has been growing a bit "organically" since it's humble origins for use in the Action Editor some 3 years (IIRC) ago now during a weekend hackathon. Obviously, some things have ended up tacked on, while others have been the product of other flag options. Nevertheless, it was time for a bit of a spring clean! * Most notably, one area where the system outgrown its original design for the Action Editor was in terms of the "visibility" filtering flag it was using. While in the Action Editor the concept of what channels to include was strictly dictated by whether the channel hierarchy showed it, in the Graph Editor this is not always the case. In other words, there was a difference between the data the channels represented being visible and the channels for that data being visible in the hierarchy. Long story short: this lead to bug report [#27076] (and many like it), where if you selected an F-Curve, then collapsed the Group it was in, then even after selecting another F-Curve in another Group, the original F-Curve's properties would still be shown in the Properties Region. The good news is that this commit fixes this issue right away! * More good news will follow, as I start checking on the flag usage of other tools, but I'm committing this first so that we have a stable reference (of code similar to the old buggy stuff) on which we can fall back to later to find bugs (should they pop up). Anyways, back to the trenches!
2011-06-21AnimFiltering Code Cleanups - Part 2Joshua Leung
* Changed all int's to size_t's, where the int's were used for size of channel list returned * Object vs Base is now passed to filtering functions - was relic from old owner/ownertype code which required access to bases * Found bug in NLA code where filter was being overwritten and then used again as input for some other function unintentionally * Found bug where trying to select a NLA strip would crash if lamp data was around
2011-06-21Animation Channel Filtering Refactor - Part 1Joshua Leung
* Removed list-expanders for Materials, Textures, and Particles. So instead of: Object Materials Material 1 ... material 1 anim data ... we now have Object Material 1 ... material 1 anim data ... This makes it faster+easier to get to these items. If you don't want to see all of these, you can still use the data-block filters from the header to hide these. * Internal cleanup - removed "owner" and "ownertype" settings from bAnimListElem. The purpose of these was muddled, and more of a hassle to maintain than doing anything useful - it was only really used for the stuff above. * Removed need for "sa->spacedata.first" casts all over the show for animation editor tools which needed access to editor data. This can now be retrieved directly.
2011-03-27subsurf, derived mesh and other misc files: floats were being implicitly ↵Campbell Barton
promoted to doubles, adjust to use floats.
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
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-12-29DopeSheet Drawing Tweak:Joshua Leung
Keyframes for locked channels are now shown faintly so that it is possible to easily distinguish between keyframes for locked channels and unlocked channels. Hopefully this solves the problem where you have some keyframes selected, and try to move them but forget that those channels are locked (without any feedback other than a single icon). Thanks for pointing out this problem Ronan Zeegers!
2010-12-072D text drawingCampbell Barton
- with the NLA on a small strip text was drawn under the scroll bar, now draw with same alignment as rectangle constrained text. - single alloc per text item. - was using opengl context rather then passing color value.
2010-12-03- added GCC warning -Wstrict-prototypesCampbell Barton
- fixed bug in paste material, exposed by stricter warnings. - removed/renamed various shadowed vars. - removed BGE lamp.colour, only allow lamp.color attribute.