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-11-13Cleanup: use lowercase 2d/3d in function namesCampbell Barton
2018-09-27Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3732
2018-09-20Cleanup: rename 3D view ray calculation functionsCampbell Barton
Using near far and optionally clipping planes is involved and not needed in many cases. Rename so a simpler version of this function can be added.
2018-09-19BLI_utildefines: rename pointer conversion macrosCampbell Barton
Terms get/set don't make much sense when casting values. Name macros so the conversion is obvious, use common prefix for easier completion. - GET_INT_FROM_POINTER -> POINTER_AS_INT - SET_INT_IN_POINTER -> POINTER_FROM_INT - GET_UINT_FROM_POINTER -> POINTER_AS_UINT - SET_UINT_IN_POINTER -> POINTER_FROM_UINT
2018-09-11Correct own error in recent transform orientation changesCampbell Barton
2018-09-07Fix normal transform orientation calculationCampbell Barton
When using the 'normal' orientation, the normal would be ignored if the plane couldn't be calculated. Now use only the normal if the plane is zero length, this was already done, just not in all cases.
2018-09-02Cleanup: comment blocksCampbell Barton
2018-08-16Cleanup: rename transform UI valuesCampbell Barton
See: T54858
2018-07-26UI: hide transform constraints when not usedCampbell Barton
2018-07-26UI: hide proportional transform optionsCampbell Barton
Adds property poll function to transform.
2018-07-10Keymap: minor changes for keymap displayCampbell Barton
2018-07-10Fix transform plane constraint orientation cycleCampbell Barton
Regression since 2.79b release
2018-07-09Cleanup: use const transform argsCampbell Barton
2018-07-09Cleanup: remove 'Orientation' from keymap item nameCampbell Barton
It's constraint not an orientation, in transform context it can be inferred.
2018-07-09Keymap: remove some hard coded transform eventsCampbell Barton
Also re-order for display purposes
2018-07-02Cleanup: use bool for poll functionsCampbell Barton
2018-07-01RNA: use bool for boolean RNA typesCampbell Barton
We were using int's for bool arguments in BKE, just to avoid having wrapper functions.
2018-06-30Cleanup: rename bmesh_queries -> bmesh_queryCampbell Barton
Other files with the same purpose already used 'query'.
2018-06-29Cleanup: trailing newlinesCampbell 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-08Fix T55301: Transform confirm on release fails w/ MMBCampbell Barton
2018-06-07Fix crash due to missing init of new bAnimContext bmain member in transform ↵Bastien Montagne
code. From own previous G.main-busting commit.
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-21Cleanup: use const for transform internal APICampbell Barton
2018-05-13Cleanup: trailing spaceCampbell Barton
2018-05-06Object Snap: add object & matrix to view ray castCampbell Barton
Some snap functions already exposed this.
2018-05-03BKE bvhtree: Add `tree_type` parameter to `bvhtree_from_mesh_get`.Germano
This will allow greater control of the bvhtrees that are obtained, and helps identify problems. It is also an additional step to unify the functions.
2018-05-01Refactoring: bvhutils: Use a function that gets the bvhtree through an ↵Germano
identifier type. Reviewed By: @campbellbarton Differential Revision: https://developer.blender.org/D3192
2018-04-23Fix T54766: "Record With"-NLA "Push Down" discards Blend Mode, ↵Joshua Leung
Extrapolation, and Influence Applied similar fix to T54233 to get the "Record with NLA" feature working with active action blending + influence settings. Extrapolation is explicitly ignored though, as it shouldn't be used with this feature (i.e. it is already disabled with the new strips and also on the animdata by default)
2018-04-16Cleanup: indentationCampbell 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-04-10Fix transform nearest axis checkCampbell Barton
Was mixing up global/local coords
2018-04-09Cleanup: avoid recalculating global centerCampbell Barton
2018-03-23Cleanup: stray tabsCampbell Barton
Tabs in middle of code (mostly for no reason / by accident).
2018-03-13Cleanup: doxygen commentsCampbell Barton
2018-03-08Cleanup: Use BKE_ prefix for all public functions exposed by the NLA moduleJoshua Leung
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
2018-01-28Cleanup: style, spellingCampbell Barton
2018-01-19Fix T53786: Proportional size from redo ignoredCampbell Barton
Changing PET size while transforming stores the size in the tool settings, but changing in the redo panel didn't.