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
2018-09-02Cleanup: comment blocksCampbell Barton
2018-06-13Cleanup: moar ugly G.main removal...Bastien Montagne
Note that due to RNA get/setters issue, that one may actually add some G.main usages to the total... But at least it's not hidden anymore in a very low-level, dark corner of BKE pointcache code!
2018-06-12Cleanup: moar G.main removal from BKE area.Bastien Montagne
2018-06-11Cleanup: Moar G.main removal of Hell.Bastien Montagne
This commit actually adds some G.main... but at much, much higher level than the ones it removes, so should still be better ;)
2018-06-09Cleanup: remove some G.main usages.Bastien Montagne
2018-06-08Cleanup: getting rid of G.main.Bastien Montagne
Sometimes one needs a *lot* of changes for a single G.main... :/
2018-06-07Cleanup: remove moar G.main usages.Bastien Montagne
Notes: * Really need to address RNA setters case, end up adding way too much G.main here these days... :/ * Added Main pointer into bAnimContext, helps a lot in anim code ;)
2018-05-13Cleanup: trailing spaceCampbell Barton
2018-04-15Cleanup: ED_armature namingCampbell Barton
- Wasn't clear which functions handle edit-bones. - Mixed both ebone and edit_bone in names. - Didn't use ED_armature_* prefix for public API. See P655 to apply to branches.
2018-02-22Fix T54129: Moving keyframes on top of other keyframes, removes both keyframesJoshua Leung
Regression caused by earlier commits to improve the automerge behaviour. In this case, the problems only occurred when moving a selected keyframe forwards in time to overlap an unselected keyframe.
2018-02-21Fix: Return back to conventional way of averaging points for keyframe de-dupJoshua Leung
The other approach was causing too much error in some cases (e.g. favouring the lower-valued keyframes). This fix should make the resulting curves less bumpy/jagged.
2018-02-21Fix: Forgot to recalculate handles after deleting keyframesJoshua Leung
2018-02-21Fix: Don't average keyframe values if FCurve can only have int/discrete valuesJoshua Leung
This is to prevent problems with integer/enum properties getting invalid values set.
2018-02-21Cleanup: Delete debugging code and the old version of the automerge codeJoshua Leung
2018-02-21Tweak/Fix for T54106 - Moving multiple selected keyframes on top of an ↵Joshua Leung
unselected one would not merge the keys This commit removes an earlier attempt at optimising the lookups for duplicates of a particular tRetainedKeyframe once we'd already deleted all the selected copies. The problem was that now, instead of getting rid of the unselected keys (i.e. the basic function here), we were only getting rid of the selected duplicates. With this fix, unselected keyframes will now get removed (as expected) again. However, we currently don't take their values into account when merging keyframes, since it is assumed that we don't care so much about their values when overriding.
2018-02-21Minor Optimisation: Terminate early if we've passed the insertion point for ↵Joshua Leung
tRetainedKeyframes
2018-02-21Feature Request T54106: When scaling keyframes, merge (by-averaging) ↵Joshua Leung
selected keys that end up on the same frame Currently, when scaling keyframes in the Dopesheet, if multiple selected keyframes end up on the same frame post-scaling, they would not get removed by the "Automerge" setting that normally removes duplicates on the same frame. This commit changes the behaviour so that when multiple selected keyframes end up on the same frame, instead of keeping all these around on the same frame (e.g. resulting in a column of keyframes on different values), we will instead merge them into a single keyframe (by averaging the values). This should result in a smoother F-Curve with fewer "stair-steps" that need to be carefully cleaned out afterwards. Requested by @hjalti
2017-11-30Transform: Use single flag with more meaningful name to prevent snapping to ↵Sergey Sharybin
a dependent object The idea of this flag was to prevent snapping onto an object which depends on currently modifying ones. Using single flag makes more sense here, and also makes it possible to replace some ob->recalc based magic with depsgraph query to set those flags.
2017-11-30Transform: Remove some legacy code about snapping in particle edit modeSergey Sharybin
It looks stupid to first force some flag being set and then have workaround to ignore that flag in snapping code. Let's just not set the flag in the first place. The only useful situation where such snapping was usable is to move roots of disconnected hair, which still works just fine. However, there might be some other hidden corner case where this workaround was needed.
2017-11-06Rename ID_IS_LINKED_DATABLOCK to ID_IS_LINKED.Bastien Montagne
This makes code closer to id_override/assent-engine ones, which introduce a new type of linked data, and hence reserve ID_IS_LINKED_DATABLOCK to real linked datablocks.
2017-09-28Fix T52086: Graph editor "normalize" drag errors for integersSergey Sharybin
2017-09-27Math Lib: Add non-clamped round_* functionsCampbell Barton
Replace iroundf with round_fl_to_int, add other types
2017-09-15Transform: Enable recursion dependency check for new depsgraphSergey Sharybin
2017-09-08Fix T52678: Crash editing gpencil w/ frame-lockCampbell Barton
2017-08-04Tracking: Cleanup of transform codeSergey Sharybin
2017-07-31Fix T52224: auto IK not respecting length, after recent bugfix.Brecht Van Lommel
2017-07-10Fix T51665: No orientation for nurbs, polygonsCampbell Barton
2017-07-10Fix T52007: Cancel bezier curve transform failsCampbell Barton
Auto & aligned handles wouldn't restore to their correct locations. Note that a more direct fix for the bug is possible (storing the handle locations to restore on cancel). But that still gives some odd behavior, see code-comments for details.
2017-07-06Fix T51955: Changing Auto-IK length crashes Blender (with new-depsgraph)Sergey Sharybin
New dependency graph is tacking root bone into account when building the graph. This is required in order to get proper dependencies between bones. so we can reliably use bones as targets from the same rig (and even indirect relations via external objects). This forces us to tag relations for update when we change root IK chain bone. Since relations rebuild is not fully trivial operation, we only do it for the new dependency graph. In the future it'll be nice to avoid whole graph rebuild for such cases, but that's mentioned as a TODO.
2017-07-04Fix T51703: Rigid body with delta transform jumps when transformingLuca Rood
When doing any transformation on a rigid body object that has delta transforms, the object would be offset by the amount of the delta transform.
2017-06-19Cleanup: doxygen commentsCampbell Barton
Also remove duplicate & mismatching comments from grease-pencil header. Keep comments close to implementation to avoid getting out of sync.
2017-06-09Fix T51756: Fix crash when transforming vertices in edit modeSergey Sharybin
The issue was caused by under-allocation of UV islands calculation.
2017-06-01Remove comment (missed last commit)Campbell Barton
2017-06-01Fix T51651: translate w/ individual origins failsCampbell Barton
Regression in fix for T46892
2017-05-26Cleanup: warningCampbell Barton
2017-03-10Fix T47690: Connected PET w/ individual originsCampbell Barton
- Connectivity length was overwritten by distance to closest selected. - Vertices used the 'island' center of the closest vertex, even if it wasn't connected. Now optionally keep track of the original index of used as the closest connected distance. To support this needed to add optional support for islands of 1 vertex.
2017-02-03fix T46892: snap to closest point now works with Individual OriginsGermano Cavalcante
The code looks for the closest element between its centers. In the case of islands, the center of each vertex is the center of the island. The solution here is to skip the search for islands when the operation is translation
2016-11-16Fix T50026: "Only Insert Needed" doesn't work when using Trackball rotationJoshua Leung
The rotation case here only covered rotation by the "Rotate" tool, but skipped the "Trackball" tool.
2016-08-04Cleanup: Use BKE_gpencil prefixJulian Eisel
This is a good point to change this as grease-pencil-v2 branch was just merged, so I hope merge conflicts with other branches are minimal.
2016-08-04Grease Pencil v2 BranchAntonio Vazquez
Improve current Grease Pencil in order to get a better 2D animation tool. More info in WIKI pages: https://wiki.blender.org/index.php/User:Antoniov Reviewed By: Severin, aligorith, campbellbarton Patch by @antoniov, with edits by @Severin. Differential Revision: https://developer.blender.org/D2115
2016-07-29Fix T48679: Bone transform only alters between translation and rotationSergey Sharybin
There was some smart code in the transform which would alter between translation and rotation based on whether bone is connected or not and whether translation is locked or not. It could be handy to also fallback to scale if both rotation and translation are locked.
2016-07-22remove double-checked conditionsMike Erwin
Checking a condition right after we’ve checked it (and it hasn’t changed). Most of these are trivial to understand. split_quads in convertblender.c: It seems quads should be processed and triangles should be marked as not needing split. So I removed the outer vlr->v4 check. Found with PVS-Studio T48917
2016-07-06Replace of (id->lib != NULL) check by meaningful macro.Bastien Montagne
Idea is to replace hard-to-track (id->lib != NULL) 'is linked datablock' check everywhere in Blender by a macro doing the same thing. This will allow to easily spot those checks in future, and more importantly, to easily change it (see work done in asset-engine branch). Note: did not touch to readfile.c, since there most of the time 'id->lib' check actually concerns the pointer, and not a check whether ID is linked or not. Will have a closer look at it later. Reviewers: campbellbarton, brecht, sergey Differential Revision: https://developer.blender.org/D2082
2016-06-22Cleanup: styleCampbell Barton
2016-06-14Correct update issue caused by recent commitCampbell Barton
VSE effects within a meta-strip could fail to update on cancel.
2016-06-14Fix VSE updating effects within metasCampbell Barton
Missing update caused internal lengths to be wrong.
2016-06-14Fix T48649: VSE meta-strip overlap shuffles recursivelyCampbell Barton
2016-06-14Correct sequencer transform checkCampbell Barton
Check to avoid operating on same strip multiple times wasn't working. Harmless but better make it functional.
2016-06-13Fix T48616: Auto-merge selects extra edgesCampbell Barton
Auto-merge caused all edges between selected vertices to be selected. This only makes sense in vertex-select-mode. Correct edge-flag merging code, which now merges flags from multiple edges.
2016-05-09Depsgraph: Avoid unneeded relations update when canceling transformSergey Sharybin
This was originally done for T46320 in order to re-store depsgraph state after all the constraint modifications. However, it relations were updated if there's any IK chain the the pose, which is a bit too annoying.