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
2019-04-17Fix Change when re-running clang-format 7.Bastien Montagne
This was the only broken case for me, hopefully we have nailed all of those down now.
2019-04-17ClangFormat: format '#if 0' code in source/Campbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-16Cleanup: trailing commasCampbell Barton
2019-04-16Cleanup: move motion paths into editors/animationCampbell Barton
Having this in blenkernel caused bad level calls to bf_editors_anim, causing tests that use 'blenkernel' to require almost all libraries. (complicating gtest linking & causing large binaries).
2019-04-16CMake: add library deps to CMakeLists.txtCampbell Barton
Tested to work on Linux and macOS. This will be enabled once all platforms are verified. See D4684
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-04-14Cleanup: doxy commentsCampbell Barton
Use doxy references to function and enums, also correct some names which became out of sync.
2019-04-10Keyframing: add operators that use keying-set ID'sCampbell Barton
Unfortunately we can't use insert/delete_keyframe operators in keymaps because the enums aren't known at the time of keymap registration and the keying sets are dynamic and use a poll function. Add a version of insert/delete operators that takes a string instead of an enum. Needed for D4626. Also extract int to keying-set into a utility function.
2019-04-08Fix T60821: highlighting issues in Dope SheetPhilipp Oeser
replaced check for (obsolete in 2.8) objects 'SELECT' flag with check for bases 'BASE_SELECTED' flag Reviewers: brecht Maniphest Tasks: T60821 Differential Revision: https://developer.blender.org/D4606
2019-04-05Fix T63281: Drivers inside nodegroups inside nodegroups don't show up in ↵Sebastian Parborg
Driver Editor Recurse into node groups when looking for drivers. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D4653
2019-04-03GPencil: Implement custom channel color in DopesheetAntonioya
A new parameter in the layer adjustment panel allows to define the color of the channel in Dopesheet. This is needed when there are a lot of layers. See D4623 for more details.
2019-03-29Fix T62908: Missing update when inserting keyframe from dopesheetSergey Sharybin
2019-03-20Fix T62750: Deleted Keyframe Still Affects SceneSergey Sharybin
Missing ID recalc tag.
2019-03-18Fix T62636: Overlapping scrollbar in driver editorJacques Lucke
Instead of only `ymin` and `ymax`, `ANIM_channel_draw_widgets` has a rectangle as input now. This allows the caller to set a custom width for the channel. Some space types need the extra space for the scrollbar (drivers, graph), but the other don't have a scrollbar. Reviewers: brecht Differential Revision: https://developer.blender.org/D4543
2019-03-15Cleanup: indentation, wrappingCampbell Barton
Mostly functions wrapping args, not confirming to our style guide.
2019-03-13Fix T58721: Keyframing one transform option reset other transformsSergey Sharybin
Use dedicated flag to tag animation just for copy-on-write synchronization, which makes it so copies of the original data blocks gets in sync with the original ID. This will not flush the animation update to all objects which depend on that animation. If such flush is required, use ID_RECALC_ANIMATION. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4508
2019-03-08Cleanup: use plural names for Main listsCampbell Barton
Convention was not to but after discussion on 918941483f7e we agree its best to change the convention. Names now mostly follow RNA. Some exceptions: - Use 'nodetrees' instead of 'nodegroups' since the struct is called NodeTree. - Use 'gpencils' instead of 'grease_pencil' since 'gpencil' is a common abbreviation in the C code. Other exceptions: - Leave 'wm' as it's a list of one. - Leave 'ipo' as is for versioning.
2019-03-07Tool System: use set/add/subtract for all box select operatorsCampbell Barton
2019-03-01Fix T62057: Particle settings keyframes not showing in Graph Editor channelsJoshua Leung
In short, the settings to expand/collapse the Particles Animation Dopesheet expander were no longer getting exposed, so the F-Curves attached to the particle settings were not showing up in the channels list as that section was collapsed and couldn't be opened from the UI. Early on during the development of 2.8, we originally wanted to completely remove the Particle System. Eventually that decision got walked back, and so particles were reinstated. Well... most of the relevant code was! One of the areas that was the most messed up during this process was the animation editor support for these channels. It seems that there was almost a two-step removal process here - the first pass tried to keep the channel definitions while removing all references to particle stuff, while the second pass tried to remove the definitions completely and/or re-added them in the wrong places, etc. To say the removal/reverting history is here is "colourful" is an understatement...
2019-02-28Fix T62012: Non-animated property, stuck in previously keyframed valuesSergey Sharybin
Was missing ID recalc tag.
2019-02-27Cleanup: file rename lamp -> lightCampbell Barton
2019-02-27Cleanup: rename lamp -> lightCampbell Barton
2019-02-27Cleanup: Main struct member namesCampbell Barton
Rename latt to lattice and don't use plural names.
2019-02-27DNA: rename Lamp -> LightCampbell Barton
- BKE_lamp -> BKE_light - Main.lamp -> light
2019-02-26UI: Show marker lines in remaining animation spacesJacques Lucke
This also includes fixed/slighly refactored drawing code for marker lines. The old code used the wrong height. Reviewers: brecht Differential Revision: https://developer.blender.org/D4411
2019-02-20Cleanup: styleCampbell Barton
2019-02-19FCurves: Remember active fcurve when selecting other boneJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D4312
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-16Cleanup: rename SPACE_IPO -> SPACE_GRAPHCampbell Barton
2019-02-16DNA: rename theme space typesCampbell Barton
Follow enum naming convention, use "space_" prefix instead of "t".
2019-02-16DNA: rename SpaceIpo -> SpaceGraphCampbell Barton
2019-02-13Fix crash removing driversSergey Sharybin
Was a use-after-free during relations update. Now we do similar dependency graph tags, but without any extra animation update logic, which was accessing various pointers. Was found when looking into a file from T56635.
2019-02-08UI: Marker position slightly offset.Pablo Vazquez
Tested on various interface sizes and thick lines. Reported by Blender Studio animators.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
2019-02-04Cleanup: Typos in comments (to to)Pablo Vazquez
2019-02-03Fix typosJoshua Leung
2019-02-03Fix T60753: Graph Editor showing cache curves regardless of filtersJoshua Leung
This commit adds a datablock filtering option for cache files channels, so that a shot with lots of these in addition to standard animation (e.g. the Spring production files) don't become bogged down by these. Furthermore, these channels also respect the "Only Selected" toggle too now.
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-31Fix T59495, T59992, T59904, T59178, T60598: broken keyframed value editing.Brecht Van Lommel
This removes a bunch of animation/driver evaluations and recalc flags that should be redundant in the new depsgraph, and were incorrectly affecting the evaluated scene in a permanent way. Still two cases that could be removed if the depsgraph is improved, in BKE_object_handle_data_update and BKE_cachefile_update_frame. For physics subframe interpolation there are also still calls to BKE_object_where_is_calc that should ideally be removed as well, though they are not known to cause keyframing bugs. Differential Revision: https://developer.blender.org/D4274
2019-01-29Partial fix for T60982: Editable anim settings in linked action.Bastien Montagne
This is only partially working, because some bAnimListElem items do not have any ID pointer set (for wome mysterious reason...), notably the 'group' ones. Will re-assign to @aligorith for that, this code is rather complicated and hard to follow (with all those macros ;) ).
2019-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-15Cleanup: commas at the end of enumsCampbell Barton
Without this clang-format may wrap them onto a single line.
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-14Keyframing: refactor insertion code to allow property-global NLA tweaks.Alexander Gavrilov
Supporting a strip blending type that treats quaternions as a unit also means being able to adjust all sub-channels as a unit when inserting keyframes. This requires refactoring keyframe insertion code to retrieve array property values for all channels at once, before iterating over the indices being inserted.
2019-01-10Use proper ID to create FModifier RNA pointerSergey Sharybin
Allows to do simple DEG tag, without extra checks for ID type. Will solve possible missing updates when modifying f-curve modifier of a shared action.
2019-01-10Fix T60340: Removing f-curve modifier doesn't update animationSergey Sharybin
2019-01-10Keep track of owner of f-curveSergey Sharybin
This is a part of another which, which needs to tag owner of f-curve for an update. But since this is too many lines changed committing separately. Basically, for f-curve AnimElement we are now storing ID whih owns the f-curve.