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-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.
2018-01-16Cleanup: indentationCampbell Barton
2018-01-11Fix T53311: transform edge/normal orientationCampbell Barton
When the edge is aligned with it's own normals, transform orientation wasn't aligned with the edge.
2018-01-10Cleanup: comment block alignmentCampbell Barton
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-29Transform: Avoid use of ob->recalc in snapping codeSergey Sharybin
Do a direct update of object transform instead, without involving manual trickery of recalc flag. Shouldn't be functional changes as far as artists are concerned, but will allow us to get rid of recalc flags in 2.8. Thanks Bastien for review!
2017-11-19Cleanup: remove BKE_utildefinesCampbell Barton
This was meant to be used for less general macros but was never used. Rename BKE_BIT_TEST_SET to SET_FLAG_FROM_TEST
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-11-05Cleanup: order buffer length after the bufferCampbell Barton
2017-10-18Cleanup: Use const for RNA EnumPropertyItem argsCampbell Barton
Practically all access to enum data is read-only.
2017-10-17Cleanup: use 'e' prefix for enum typedefsCampbell Barton
Convention was only followed loosely, apply to DNA where changes aren't likely to conflict. (Skipped ModifierType for eg).
2017-10-14Hide "Confirm on Release" button from transfor redo optionsJulian Eisel
Hide-flag wasn't set so option shows up in keymap editor. But seems like that flag is ignored there by now anyway.
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-26Cleanup: remove bounds runtime data from sceneCampbell Barton
2017-09-26Fix: When transforming GP strokes in "Local" mode, the strokes would get ↵Joshua Leung
obscured by the transform constraint lines Ported over e7395c75d504af2c2f720f43ea27b93e04a378e4 from the greasepencil-object branch. I should've fixed this ages ago, but couldn't figure out why at the time.
2017-09-19transform_snap_object: simplify IGNORE_BEHIND_RAYmano-wii
`depth_get` is called in most of the time. So not worth going through so many conditions
2017-09-19Cleanup: BLI_utildefines prefix for header-only libsCampbell Barton
This allows to have different macro headers without them sharing similar names to regular C modules.
2017-09-15Transform: Enable recursion dependency check for new depsgraphSergey Sharybin