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
2016-04-16Anim Editors: "View Frame" Operator - Code Cleanups/Reshuffling + ↵Joshua Leung
NLA/Timeline Support * Reshuffled code for existing "View Frame" implementations, and removed leftover comment from some of the the copy-and-paste used to build it. * Added support for this operator in the NLA and Timeline
2016-04-16Experimental Drivers UI Tweak: Use icons for variable typesJoshua Leung
This commit aims to streamline the driver variables layout a bit * Each variable type now has an icon. (The loc diff and rot diff ones are placeholders, which could deserve something better/dedicated if we continue to use this) * Instead of taking up an entire row, the variable type dropdown now only shows an icon, and is located before the variable name field. Feedback wanted: Is this more/less confusing than it was?
2016-04-16Tweaks to Streamline Drivers UI - Don't use uiTemplateAnyID for properties ↵Joshua Leung
where only objects can be used
2016-04-15Code Cleanup: Fix up various odds and endsJoshua Leung
2016-04-15Drivers Editing: Added "Copy/Paste" buttons beside "Add Variable" for ↵Joshua Leung
copying all variables from one driver to another This was a feature request from a few years back (IIRC from ZanQdo?) to make it easier to reuse one set of driver variables across several different drivers. Dev Notes: * Finally it's done! All that trouble for two little buttons. * Grr... cmake... grrr!
2016-04-15Fix T42148: Copying/Pasting FModifiers copies to all selected FCurves, not ↵Joshua Leung
just active one
2016-04-15FModifiers: Various tweaks for consistency + improved behaviourJoshua Leung
* Use an RNA enum callback for NLA FModifier types too * Cleaned up tooltips for these operators in Graph and NLA editors * Fix update notifiers after adding FModifiers in the Graph Editor
2016-04-15FModifiers: "Add Modifiers" in Graph/NLA Editor buttons now uses a dropdown ↵Joshua Leung
instead of a button This brings the UI here more in line with the Constraints and Modifiers UI's. TODO: * The tooltips/descriptions on the operators now need fixing, as we can no longer use custom tooltips when defining these buttons. * The operators need to be fixed to only operate on the active data
2016-04-15Code Cleanup: Add proper defines (with ANIM_* prefix) for animation-related ↵Joshua Leung
copy-paste buffer free callbacks
2016-04-15Graph Editor: Move "View" panel to be the lastJoshua Leung
This change means that when going from having no FCurves active to having an active FCurve, the properties panels will not get stuck with only showing the "View" tab, which is not that useful a lot of the time.
2016-04-01Cleanup: style/spellingCampbell Barton
2016-03-31Usual ui messages fixes/tweaks.Bastien Montagne
2016-03-28Graph Editor UI: Experimental Tweak - Use tabs for properties region, to ↵Joshua Leung
make it easier to navigate
2016-03-26Driver Variable Name Validation: Added missing check for zero-length (i.e. ↵Joshua Leung
"blank") names
2016-03-24Drivers UI: Added name validation/linting for Driver VariablesJoshua Leung
When attempting to change a driver variable name to an "invalid" name, an indicator will now be shown beside the offending variable name. Clicking on this icon will show a popup which provides more information about why the variable name cannot be used. Reasons that it knows about are: 1) Starts with number 2) Has a dot 3) Has a space 4) Starts with or contains a special character 5) Starts with an underscore (Python does allow this, but it's bad practice, and makes checking security of drivers harder) 6) Is a reserved Python keyword
2016-03-13Keyframing: Added ToolSetting for choosing default keyframe typeJoshua Leung
To make it easier for animators working in a multipass pose-to-pose workflow when inserting breakdown keyframes and so forth, it is now possible to specify the "type" of keyframe being created (i.e. the colour of the keyframe, when drawn in the Dope Sheet). Usage: 1) Choose the type of keyframe ("Keyframe", "Breakdown", "Extreme", etc.) from the new dropdown located between the AutoKeying and KeyingSet widgets on the timeline header. 2) Insert keyframes 3) Rejoyce that your newly created keyframes have now been coloured for you already in the DopeSheet. Todo: * Look into a way of using the actual keyframe colours (from the theme) for the icons of these types.
2016-02-07Cleanup: line widthCampbell Barton
2016-02-05Fix T46037: Moving keys in NLA tweak mode on offset actions results in ↵Joshua Leung
Bezier handles getting stretched unreasonably Patch by Alexander Gavrilov (angavrilov) Reviewed by Joshua Leung (aligorith)
2016-01-25A few urgent glLineWidth fixes for anim editorsJoshua Leung
This fixes some of the issues noted by venomgfx that were caused by Se25ba162c0b62b19cf367f0f29e29d0c0960978d Specifically, this commit fixes: * Timeline: Keyframe lines * Graph Editor: Curves and Handles
2016-01-23OpenGL: call glLineWidth less oftenMike Erwin
Each LINES draw call is now responsible for its own line width. No need to set it back to its 1.0 default after every draw. This eliminates half our calls to glLineWidth , similar to last week’s work on glPointSize.
2016-01-22Fix T45523: "View All" in Graph Editor does not respect Y axis with small valuesJoshua Leung
The previous threshold used to prevent the Graph Editor from imploding if presented with a flat (or nearly flat, accounting for floating point precision) curve was too coarse, meaning that in some cases, the "View All" tool would end up behaving weirdly.
2016-01-22OpenGL: cleanupMike Erwin
- LINE_STRIP to LINES when only drawing one - group state changes for easier reading - general cleanup
2016-01-16OpenGL: fixes related to GL_POINTSMike Erwin
I put all usage of GL_POINTS under the microscope. Fixed problems & optimized a couple of spots. - reduce calls to glPointSize by about 50% - draw selected & unselected vertices together for UV editor & EditMesh - draw initial gpencil stroke point the proper size - a few other smaller fixes New policy: each GL_POINTS draw call needs to set its desired point size. This eliminates half our calls to glPointSize (setting it back to its 1.0 default after every draw).
2016-01-08OpenGL: remove glPointSize hackMike Erwin
2016-01-04Remove SCons building systemSergey Sharybin
While SCons building system was serving us really good for ages it's no longer having much attention by the developers and started to become quite a difficult task to maintain. What's even worse -- there started to be quite serious divergence between SCons and CMake which was only accumulating over the releases now. The fact that none of the active developers are really using SCons and that our main studio is also using CMake spotting bugs in the SCons builds became quite a difficult task and we aren't always spotting them in time. Meanwhile CMake became really mature building system which is available on every platform we support and arguably it's also easier and more robust to use. This commit includes: - Removal of actual SCons building system - Removal of SCons git submodule - Removal of documentation which is stored in the sources and covers SCons - Tweaks to the buildbot master to stop using SCons submodule (this change requires deploying to the server) - Tweaks to the install dependencies script to skip installing or mentioning SCons building system - Tweaks to various helper scripts to avoid mention of SCons folders/files as well Reviewers: mont29, dingto, dfelinto, lukastoenne, lukasstockner97, brecht, Severin, merwin, aligorith, psy-fi, campbellbarton, juicyfruit Reviewed By: campbellbarton, juicyfruit Differential Revision: https://developer.blender.org/D1680
2015-12-14Graph Editor: "Add at Cursor" options for Insert Key operator in Graph EditorJoshua Leung
* Added the ability to add a keyframe at the current cursor location in the Graph Editor. This is useful for precisely defining the shape of driver F-Curves. * Fixed a bug where the wrong cursor-x time was being used in Drivers mode (i.e. it was still using time, and not just any time-value, but the NLA-mapped time!)
2015-11-28Cleanup: 'area' vs 'region'Julian Eisel
Apparently this is the result of some sloppiness during 2.5 project and since then it confused people who were trying to understand the area-region relation (myself included). Sorry if this causes merge conflicts for anyone, but at some point we really had to do it :/
2015-11-23Fix T46841: Thick lines w/ graph visibleCampbell Barton
2015-11-23Cleanup: shadowing (editors)Campbell Barton
2015-11-23Cleanup: use `rna_enum_` prefix for RNA enumsCampbell Barton
Definitions could shadow local vars.
2015-10-29Fix T46632: Graph editor frame navigation shortcuts not workingJulian Eisel
2015-10-26Cleanup: warning & whitespaceCampbell Barton
2015-10-26Graph Editor: Snap and Mirror keyframes now respect Cursor X in Drivers modeJoshua Leung
When using the "Current Frame" options for these operators, the Cursor X value will now be used instead of the current frame. Perhaps the labels could be changed too, but for now, I guess this will be good enough.
2015-10-26Graph Editor: Adjusting Change Frame and Jump to Keyframes operators to work ↵Joshua Leung
with Drivers Cursor
2015-10-26Graph Editor: Allow "cursor x" to have fractional values when working with ↵Joshua Leung
Drivers (T46004) When working is the Graph Editor it can be very important to be able to work with fractions (sub integers), especially when working with Drivers. Currently the "Cursor Y" is hooked up to "cursor_position_y" which allows fractions but "Cursor X" is directly hooked up to "frame_current" which is an integer. This commit adds initial support for this feature. * When in Drivers mode, the x-part of the cursor is mapped to a new "cursor_position_x" value which can have fractional values. Animation mode however remains mapped to frame_current * This commit only adds the UI/property/drawing tweaks needed to support this. Many operators still need to be modified to consider this value instead of the current frame, for this to be more useful.
2015-10-26Fix: Missing update after scrubbing time in Graph EditorJoshua Leung
Sometimes the timeline header didn't update after time-scrubbing in the graph editor ends, leaving the "Pause" button visible until the next refresh of the timeline (e.g. on mouse over)
2015-10-26Fix: X-axis values in Graph Editor should not be displayed as timecodes in ↵Joshua Leung
"Drivers" mode
2015-10-26Alternative presentation for interpolation indicator for discrete propertiesJoshua Leung
2015-10-26Graph Editor: Disable interpolation setting for enum/boolean FCurves, as no ↵Joshua Leung
interpolation is performed on those
2015-08-23This commit makes it possible to select the sort mode whenever we invoke an ↵Thomas Beck
operator. It's needed especially for the menu entry "recover auto save" where you'd like to have the files sorted by date most of the time but it could be useful in other places too. There should be no functional change in other areas, I just added the missing parameter (FILE_SORT_ALPHA). Was a request from @sebastian_k at #BCon13, so at least one guy needs it ;) Reviewers: mont29 Reviewed By: mont29 Subscribers: sebastian_k Differential Revision: https://developer.blender.org/D1476
2015-08-21Anim Editors: All keyframe selection operators now perform undo pushesJoshua Leung
This brings them into line with other editing tools (e.g. object/mesh selection), and should help fix bugs like T45374 and T45846
2015-08-18Refactor translation code out of blenfontCampbell Barton
- Add blentranslation `BLT_*` module. - moved & split `BLF_translation.h` into (`BLT_translation.h`, `BLT_lang.h`). - moved `BLF_*_unifont` functions from `blf_translation.c` to new source file `blf_font_i18n.c`.
2015-08-07Fix scrubbing only treated as animation for sequencerAntony Riakiotakis
Intent was to act as animation everywhere
2015-08-04SCons: Fix for really nasty bug with polluting configuration environmentSergey Sharybin
The issue was caused by the following construction: def = env['SOMETHING'] defs.append('SOMETHING_MORE') Since first assignment was actually referencing environment option it was totally polluted hawing weird and wonderful side effects on all other areas of Blender.
2015-07-29Gooseberry animation feature: Add toggle that disables modifiers on fcurves.Antony Riakiotakis
Feature is found as per channel option in graph editor.
2015-07-29Clean channels tool for Hwoozeberry.Antony Riakiotakis
Basically it's a clean keyframes tool, but also removes a channel if the only remaining keyframe has the default value only and is not used by drivers or generative modifiers. It's was used to help with performance of keyframe-heavy scenes in gooseberry. Note, as always the curve left after the clean tool is used is not the same as the original, so this tool is better used before doing custom editing of fcurves and after initial keyframe insertion, to get rid of any unwanted keyframes inserted while doing mass keyframe insertion (by selecting all bones and pressing I for instance)
2015-07-29Port optimization from gooseberry branch:Antony Riakiotakis
Treat scrubbing as animation. This is checked during various updates to avoid some costly calculations.
2015-07-28Audaspace: fixing problems for the merge to master suggested by Campbell and ↵Jörg Müller
Sergey. - rename WITH_EXTERNAL_AUDASPACE to WITH_SYSTEM_AUDASPACE. - rename C/PYAUDASPACE to AUDASPACE_C/PY - simplifying cmake defines and includes. - fixing include paths and enabling WITH_SYSTEM_AUDASPACE for windows. - fixing scons building. - other minor build system fixes.
2015-07-28Audaspace: use standalone library.Jörg Müller
- Added the cmake configuration option WITH_EXTERNAL_AUDASPACE. - Fixes to build without standalone library as well.
2015-07-21Fix T45453: Driver button's ignore DPICampbell Barton