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
2012-06-01Tweaks for Pasting Keyframes in DopeSheet/Graph EditorsJoshua Leung
In response to [#31670], I've reviewed the way that the Paste Keyframes tool for the DopeSheet and Graph Editors works. Previously, it required you to always select the F-Curves to paste the keyframes into before allowing you to paste keyframes. This was because it is quite difficult to infer which ID-block's set of curves is intended if more than one ID-block has similar curves (e.g. a scene with two materials, and both have their diffuse color animated). The underlying assumption and intention of the feature here was that the copy+paste were only being used by animators to copy animation between similar curves, to transfer and offset animation across block boundaries. However, it turns out that many people were by far more familiar with the simpler copy/paste paradigm from everywhere else (i.e. instead of trying to use duplicate to copy keyframes around within their respective F-Curves). Furthermore, in most cases there is only going to be a single character being animated at a time (vs multiple), which means that most of the time the matching problem is much simpler. Hence, the Paste now works as follows: - If there are selected F-Curves, we limit the paste-matching to only consider those in the selected F-Curves. This makes it possible to still explicitly specify where to paste. - In the more general case (no prior selections), pasting will try to match anything relevant it finds. TODO: - Check on whether the strictest matching level needs adjustments to limit the number of false positives - Testing and feedback of the new behaviour needed <--- ANIMATORS! PLEASE TEST
2012-05-24Graph Editor - View All/Selected now includes handles for calculating extents ofJoshua Leung
F-Curves It is possible to get the old behaviour (handles excluded) by bringing up the Operator Properties (F6) while in the Graph Editor (this doesn't work elsewhere due to the context requirements of this stuff).
2012-05-21code cleanup: spellingCampbell Barton
2012-05-09style cleanup: graph & armatureCampbell Barton
2012-05-05Fix related to [#31157]: Tips (descriptions) of macro operators were not set ↵Bastien Montagne
into underlying RNA struct, hence did not show up in UI.
2012-04-29style cleanup: function calls & whitespace.Campbell Barton
2012-04-29Bugfix [#31029] Select all in view3D don't update the graph editor immediatelyJoshua Leung
One-liner fix. The code was assuming that editor.refresh() would do a editor.redraw() too (like for Dopesheet), but that wasn't the case.
2012-04-29Code cleanups - whitespaceJoshua Leung
2012-04-28Code and style cleanup in own modules in BKE and also mball moduleSergey Sharybin
- Make sure functions are named in way BKE_<object>_<action> (same way as RNA callbacks) - Make functions which are used by mball.c only static and remove their prototypes from public header file. Further cleanup is coming.
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-04-02code cleanup:Campbell Barton
always use if (...) even if the macros dont require it (confuses parsers) define macros without the ';'s included.
2012-03-31code cleanup: use uppercase defines and change drawFCurveFade into static ↵Campbell Barton
function.
2012-03-31move debug flag into its own global var (G.debug), split up debug options.Campbell Barton
--debug --debug-ffmpeg --debug-python --debug-events --debug-wm This makes debug output easier to read - event debug prints would flood output too much before. For convenience: --debug-all turns all debug flags on (works as --debug did before). also removed some redundant whitespace in debug prints and prefix some prints with __func__ to give some context.
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-24style cleanup: mainly for mesh code, also some WM function use.Campbell Barton
2012-03-22Quick Mango request: Adjustable contrast/intensity for unselected F-Curves inJoshua Leung
Graph Editor Under User Preferences -> Editing, there's a new setting "F-Curve Visibility" which controls the how much F-Curves blend in with the background colour. Increasing this value makes F-Curves stand out more, at the expense of making it less obvious which F-Curve is active.
2012-03-22style cleanup: spaces aroudn operators for operator definitions.Campbell Barton
2012-03-17Fix for yesterday i18n own commit (r44924): we now need to define ↵Bastien Montagne
WITH_INTERNATIONAL everywhere TIP_/IFACE_ macros are used (else, we get non-international, dummy NOP macros instead!). Also fixed in main CMakeList file, when no addon dir found, we want to disable WITH_PYTHON (I guess, certainly not WITH_INTERNATIONAL ;) ).
2012-03-08style cleanup - spelling.Campbell Barton
2012-03-06style cleanup, brackets in else/if, some indentation.Campbell Barton
2012-03-04style cleanup - comment spelling + translate some dutch.Campbell Barton
2012-03-04Many i18n fixings, based on [#30428] [2.62] Translation Issues.Bastien Montagne
In fact, most "UI special cases" are not well translated, currently. :/ This affects especially the "Properties" panels. This commit should address problems in Graph editors, and 3D View (but probably not yet all of them). Yet it already adds more than 100 new messages (and fixes translated drawing of more). Also done some style edits…
2012-03-02style cleanupCampbell Barton
- spelling - turns out we had tessellation spelt wrong all over. - use \directive for doxy (not @directive) - remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
2012-03-01Spelling CleanupCampbell Barton
2012-02-29Code Cleanup: remove non existing function declarations.Campbell Barton
added some missing functions too - which are not used yep but should be there for api completeness. * CDDM_set_mloop * CDDM_set_mpoly * BLI_mempool_count
2012-02-20- remove some unused editmesh functions.Campbell Barton
- copy & rename EditMesh stricts for use with scanfill (remove unused members)
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-01-24Fix #29946: Recover Auto Save defaults to "Short List" View -- Cannot ↵Sergey Sharybin
determine dates Added option display_type to WM_operator_properties_filesel which defines which file display type (short/list/icons/default) should be used for file browser. All current operators are using FILE_DEFAULTDISPLAY display type which means display type will still be calculated based on type of opening file and user preferences settings. Recover Auto Save operator is now using long display type so file date can easily be checked now. Reviewed by Andrea, thanks!
2012-01-22reduce operator lookups in the UI (could do 4 hash lookups per button).Campbell Barton
2012-01-16more keymap editsCampbell Barton
- make sure defaults are not assumed (so reuse last settings doesnt override) - replace 0/1 for TRUE/FALSE defines.
2012-01-15Another fix for previous own fix...Bastien Montagne
2012-01-15Fix [#29894] Selection in sequence editor does not de-select other stripsBastien Montagne
Another bunch of fixes for select keymaps (sequencer, node, nla, graph, action).
2012-01-14replace operator to toggle handles with generic wm operatorCampbell Barton
2012-01-13Fix #29879: ctrl+B border select with handles in the graph editor not selectingBrecht Van Lommel
the right keys/handles.
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).
2012-01-10comment unused varsCampbell Barton
2011-12-16remove duplicate if'0'd functions, same versions are in drawarmature.c.Campbell Barton
also added note of function to de-duplicate.
2011-11-232.6 UI code:Thomas Dinges
* Get rid of subrow/subcol variable names in the C UI code as well, use sub instead. This is shorter and sufficient. * Minor layout alignment fixes. * Greying out in NLA editor was doing nothing for "strip_time" property.
2011-11-16Fix #29260: Missing "Extend" parameter for Border SelectSergey Sharybin
Added "Extend" flag to border select operators for editors: - UV Editor - Sequencer - NLA - Info Space - Graph Editor - File Browser - Clip Editor - Action Editor - Channels and markers regions Can be used for custom keymaps.
2011-11-15Follow-up commit to r.41765Joshua Leung
Reviewed behaviour of selection operators, and decided that ultimately, it's better if select left/right/column didn't change the channel selections at all. This is because with the highlighting of the active curve nowadays, it's a bit distracting to suddenly lose track of it after performing these operations, when you may have been trying to select all of the keyframes on that curve for further tweaking.
2011-11-12Bugfix [#29212] Select before/after current frame deselects all channels inJoshua Leung
graph editor No need to deselect all channels when doing the select left/right operator, since we don't replace the selection afterwards with anything useful. This would be a problem when the "Only Show Selected" option is enabled (as it is by default), as this results in the curves being worked on disappearing from view. F-Curves though will still get deselected as a result of the code to deselect keyframes. Will need to review whether this is still a good idea (original intention was so that only curves with keyframes selected would remain selected).
2011-11-05macro formatting & remve some unused code.Campbell Barton
2011-11-02Space types:Thomas Dinges
* Some cleanup, removed references to already deleted *_header.c files. * Marked SpaceScript as deprecated and removed header. Will keep space for now though, as some script operators are there and Campbell might want to re-use the space later.
2011-10-27Bugfix [#29015] Copy n Paste keyframes and poses broken?Joshua Leung
Improved error messages presented when trying to paste keyframes. Previously, "No keyframes to paste" would always be displayed, even if the copy/paste buffer had some contents but couldn't be pasted if there weren't any F-Curves selected to paste to.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23Typo fixes for the typo fixes. :DThomas Dinges
2011-10-23fix some typo'sCampbell Barton
2011-10-21Cleaning i18n code.Bastien Montagne
Previous state: Right now, there are "memories" of the "old" (less than a month!) translation way: * A few remaining calls to BLF_gettext() (only UI_translate_do_iface and UI_translate_do_tooltip should be used). * The _() macro still also calls BLF_gettext()! New state: Here are the changes made by the patch: * Removing the no more needed _() macro. * Removing most N_() and _() calls, only keeping the few needed ones (i.e. strings that are in no other way findable by xgettext and/or update_msg script). * Defining in UI_interface.h IFACE_() and TIP_() macros (resp. for UI_translate_do_iface and UI_translate_do_tooltip). * Replacing all calls to BLF_gettext by relevant IFACE_ or TIP_ one. * Replacing all calls to UI_translate_do_iface by IFACE_. * Replacing all calls to UI_translate_do_tooltip by TIP_. All this somewhat clarifies and simplifies the code. On the bf-translations scripts side, this only implies adding IFACE_ and TIP_ as detection markers for xgettext. It also allows to reduce POTFILES.in quite notably (only 20 files remaining in it). Please also have a look at those pages: * Coder POV: http://wiki.blender.org/index.php/Dev:2.5/Source/Interface/Internationalization * Translator POV: http://wiki.blender.org/index.php/Dev:2.5/Doc/How_to/Translate_Blender
2011-10-15spelling corrections in comments and quiet warningCampbell Barton