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-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-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-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-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-09Cleanup: avoid recalculating global centerCampbell Barton
2018-03-08Cleanup: Use BKE_ prefix for all public functions exposed by the NLA moduleJoshua Leung
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-08-29Transform: scale center override by aspectCampbell Barton
Needed for image space.
2017-08-28Transform: center overrideCampbell Barton
Hidden option to override transform center. Needed for manipulators that define their own center.
2017-06-12Cleanup: indentation, long linesCampbell Barton
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-07Cleanup: spelling, styleCampbell Barton
2016-05-31Fix T48554: Absolute grid snap fails w/ cursor pivotCampbell Barton
Use center of selection when using absolute grid snapping and cursor pivot.
2016-05-08D1705: Fix Grease Pencil Fill for Concave ShapesAntonio Vazquez
Improve filling for concave shapes using a triangulation of the stroke. The triangulation information is saved in an internal cache and only is recalculated if the stroke changes. The triangulation is not saved in .blend file. Reviewers: aligorith Maniphest Tasks: T47102 Differential Revision: https://developer.blender.org/D1705
2016-04-22Transform Snap: initial snap context refactorCampbell Barton
This introduces a snap-context that can be re-used for casting rays into the scene (by operators such as walk-mode, ruler and transform code). This can be used to cache data between calls too.
2016-03-29Fix transform center2d for 2d viewsCampbell Barton
While this didn't show up as a bug, the center2d was being calculated with a zero aspect, causing TransInfo.center2d to be NAN.
2016-02-01Cleanup: unused TransInfo membersCampbell Barton
2016-02-01Fix transform crash in rare casesCampbell Barton
In some cases transform modes would use the custom-data pointer, other times the transform conversion functions would. However with some combinations (bone mirror + bend for eg), both conversion & transform mode would use this pointer causing a crash. Fix this by having 2 custom-data pointers: one for the mode, another for the data-type. This also simplifies time-slide which was conditionally mixing mode/type data in the one array.
2016-01-22OpenGL: cleanupMike Erwin
- LINE_STRIP to LINES when only drawing one - group state changes for easier reading - general cleanup
2015-12-13Grease Pencil: Merge GPencil_Editing_Stage3 branch into masterJoshua Leung
This commit merges all the work done in the GPencil_Editing_Stage3 branch as of ef2aecf2db981b5344e0d14e7f074f1742b0b2f7 into master. For more details about the changes that this brings, see the WIP release notes: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.77/GPencil
2015-12-01Cleanup: use more logical names for View3D.aroundCampbell Barton
D1651 (own patch)
2015-11-22Fix T46678: Extending left handle of a VSE multicam effect strip with snap ↵Bastien Montagne
creates frame stills. Also fixes cache handling for those strips, they need more radical flushing...
2015-11-09Cleanup: avoid incrementing/decrementing id->us outside of BKE_library.Bastien Montagne
We have callbacks for that, they also do some checks and help ensure things are done correctly. Only place where this is assumed not true is blenloader (since here we may affect refcount of library IDs as well...).
2015-10-29Fix error introduced by D1588Campbell Barton
2015-10-28Transform: Replace t->imval w/ t->mouse.imvalCampbell Barton
Initial mouse position was saved in two different places D1588 by @mauge
2015-10-26Graph Editor: Use Cursor X in Drivers mode during Transforms (where appropriate)Joshua Leung
2015-09-13Cleanup: spellingCampbell Barton
2015-09-08Fix T46003: Scale w/ script ignores axis-alignCampbell Barton
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-07-21Fix T45458: Edge Slide Mirror doesn't preserve UVsCampbell Barton
2015-07-13Fix T45402: Transform crash w/ project+align snapCampbell Barton
Only euler rotations were checked for. Also delta rotations caused random/unusable output.
2015-07-09Curve selection, de-duplicate & cleanupCampbell Barton
2015-07-01Transform: use snap-to-grid behavior from D910Campbell Barton
Excuse the trashing here, but seems users prefer this most (though both can be useful). Note that the UI remains the same, so this is an option for 'Incremental' snapping instead of a new snapping mode.
2015-06-30Transform: add back absolute snapping optionCampbell Barton
This ensures that vertices are grid-aligned while transforming, instead of just snapping the input values for translate.
2015-06-26Cleanup: transform centerCampbell Barton
store global center in transform struct, some code was calculating all the time, this is useful to keep available.
2015-06-26Cleanup: transform aspectCampbell Barton
Transform code had duplicate aspect checking, now store aspect in TransInfo.aspect for reuse.
2015-06-17Fix (unreported) redo of 'bone envelope distance resize' transform op not ↵Bastien Montagne
working (it would behave like 'bone envelope resize' instead). Issue comes from the fact this transform op shares some common points with both BoneResize and BoneEnvelope operations. However, trying to re-use `TFM_BONE_ENVELOPE` itself in this case is bad idea, since this mode gets stored in transform op and is directly re-used for redo, by-passing the whole init phase that shall be done in `TFM_BONESIZE` mode... So now, we add a real new mode, `TFM_BONE_ENVELOPE_DIST`, while keeping most of existing code and all existing behavior. This is slightly hackish - but was already anyway, and avoids creating a full new set of function for pretty much the same thing. As a side note, also makes it possible to resize envelope distance outside of envelope viewing mode (from py or by adding a custom shortcut).
2015-05-25Fix error redoing shrink fattenCampbell Barton
Use a property to store even-offset option.
2015-04-10rename _ipo -> _fcurveCampbell Barton
2015-04-09Separate proportional editing options for graph and action editor.Antony Riakiotakis
2015-04-07Proportional editing support for the action editor.Antony Riakiotakis
There are a few things here which are not so nice: * Position of proportional edit circle is not centered on data (difficult to predict positions here since those are completely custom, will probably be positioned at center of area later instead) * Result is flushed to curve handles only at the end of the transform, so if people have the graph editor open they will see handles lagging behind.
2015-04-02Fix proportional editing always turned on in graph editor.Antony Riakiotakis
2015-04-01Proportional editing for graph editor did not work outside edit modeAntony Riakiotakis
2015-04-01Fix glitch scaling bone radiusCampbell Barton
connected parents radius could get out of sync with child.
2015-02-25Fix T43798: Individual origins disabled object PETCampbell Barton
2015-02-23Snap to Active: missing armature/pose/mball/curveCampbell Barton
de-duplicate active center calc between transform & snap-to-selected.