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
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-06Cleanup: Rename ARegion variables from ar to regionJulian Eisel
The old convention was easy to confuse with ScrArea. Part of https://developer.blender.org/T74432. This is mostly a batch rename with some manual fixing. Only single word variable names are changed, no prefixed/suffixed names. Brecht van Lommel and Campbell Barton both gave me a green light for this convention change. Also ran clan clang format on affected files.
2020-02-29Cleanup: Move transform_constraints declarations to its own headerGermano Cavalcante
2020-02-16Cleanup: Transform: Rearrange definitions and declarationsmano-wii
2020-02-14Cleanup: Split transform.c in multiple filesmano-wii
Differential Revision: https://developer.blender.org/D5819
2019-12-20Cleanup: split transform cursor drawing into their own filesCampbell Barton
2019-11-24Cleanup: doxygen commentsCampbell Barton
Also correct some outdated symbol references, add missing 'name' commands.
2019-11-22UI: Changes to Graph Editor selection and transformJulian Eisel
When introducing "drag-all-selected" support all over Blender, we figured this wouldn't work well with the Graph Editor selection/transform behavior. Hence, William and I worked on the following changes, although we used this chance to improve the behavior in general too. For more info see T70634. * Handles now always move with the key, regardless if they are selected or not. * Selecting the key doesn't select the handles anymore, their selection is separate. * Multiple keys and handles can now be dragged. * Dragging a handle moves all selected handles **on the same side**. * Tweak-dragging any handle can never affect any keyframe location, only handles. * G/R/S should behave as before. * Changing the handle type with a key selected always applies the change to both handles. * Box selection with Ctrl+Drag now allows deselecting handles (used to act on entire triple only). * Box selection //Include Handles// option now only acts on visible handles, wasn't the case with Only Selected Keyframes Handles enabled. * Box selection //Include Handles// is now enabled by default in all bundled keymaps. The changes have been tested for some days by the animators here in the Blender Animation Studio. Some changes are based on their feedback. Also, this improves/adds comments for related code. Differential Revision: https://developer.blender.org/D6235 Reviewed by: Sybren Stüvel, William Reynish
2019-11-08Fix T69799: Glitches when moving object camera is locked tomano-wii
The idea is to indicate that the view3d matrix is being transformed too and this avoids cyclic dependencies.
2019-10-28Cleanup: correct argument type mismatchCampbell Barton
Add transform_snap.h header which includes DNA enum.
2019-09-27Cleanup: structs, cmake file listsCampbell Barton
2019-09-11Transform: Edit Mesh: Support mirror on all axesmano-wii
Part of T68930 Now two other mirror options that can be enabled simultaneously: Mirror Y and Z. Reviewers: campbellbarton Reviewed By: campbellbarton Subscribers: ThatAsherGuy Differential Revision: https://developer.blender.org/D5720
2019-09-05Transform: Split transform_conversions into multiple files.mano-wii
Part of T68836 `transform conversions.c` is a file that is getting too big (almost 10,000 lines). So it's a good idea to split it into smaller files. differential revision: https://developer.blender.org/D5677
2019-08-29Cleanup: use custom data for object transform dataCampbell Barton
2019-08-28Transform: option to transform parent objects without childrenCampbell Barton
Supports parent/child chains with mixed selections. Currently accessible from the pivot popover (may be moved along with the other options here).
2019-08-28Cleanup: make transform data in object mode flag publicCampbell Barton
This fits better with intended flag usage.
2019-08-25Cleanup: redundant struct declarationsCampbell Barton
2019-08-24Transform: option to transform origins in object modeCampbell Barton
Currently supports mesh, armature, lattice, curve & metaballs. Access from pivot popover.
2019-08-23Snapping System: Improve drawing indicating `Perpendicular` snapmano-wii
Since pependicular snap depends on `snapTarget` it is important to indicate where this target is so as not to confuse users. So draw a pivot where the target is and a dotted line toward the perpendicular snap point. Reviewers: campbellbarton, brecht, billreynish Differential Revision: https://developer.blender.org/D5557
2019-08-21Fix T65671: Armature X-Mirror inconsistenciesDemeter Dzadik
This fixes bendy bone properties not being mirrored correctly Reviewed By: Brecht Differential Revision: http://developer.blender.org/D5408
2019-08-02Fix T63570: Proportional editing resets scaling along Y and Z axis on mouse ↵mano-wii
wheel `applyResize(...)` considers that `t->values` always represents a `ratio`. But this is only `true` with the `MOUSEMOVE` event. The solution proposed is to never change `t->values`. The result of the final transformation is now written to `t->values_final`. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D5212
2019-07-31Spelling fixes in comments and descriptions, patch by luzpazBrecht Van Lommel
Differential Revision: https://developer.blender.org/D3744
2019-05-09Move out pose edit options into the pose dataSebastian Parborg
Move pose edit mode booleans out of the armature data into the pose data Reviewed By: Brecht Differential Revision: http://developer.blender.org/D4832
2019-05-06remove unused T_LOCAL_MATRIXPhilipp Oeser
- was introduced in rB844a17a3d9d2 but apparently never used - spotted while looking into T57767 Reviewers: brecht Differential Revision: https://developer.blender.org/D4805
2019-05-06Implement mirroring in pose mode (absolute and relative)Sebastian Parborg
Added working X-mirroring in pose mode with an optional relative mirror mode. Reviewed By: Campbell Barton Differential Revision: http://developer.blender.org/D4765
2019-04-17Cleanup: comment length in transformCampbell 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-03-08Cleanup: spellingCampbell Barton
2019-03-01Comments: add comments for new transform struct members.Campbell Barton
2019-03-01Cleanup: minor improvements to transform comments.Campbell Barton
2019-02-27Cleanup: remove redundant property assignmentCampbell Barton
Also cleanup comments
2019-02-26Transform: fix rotate redo behaviorCampbell Barton
- Add XYZ option. - Orientation now works as expected. Now a redo for rotation works logically, setting the axis to Z & the orientation to view. Resolves T57205
2019-02-26Transform: don't set the user constraint when it's not setCampbell Barton
The orientation for the redo panel would be set even when not used, add an 'unset' orientation which defaults to global.
2019-02-21Transform: remove constraints from the redo panelCampbell Barton
Constraint options had confusing behavior: - When non were pressed, the orientation was ignored. - When any were pressed, the orientation was used, but only unconstrained axed could be adjusted. Now constraining is only used for modal execution so there is no need to show these in the interface. When an orientation is selected, the XYZ values always transform using that space. Note, transform system should be refactored to support different orientations w/o having to use constraints. Addresses T57204
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-08Cleanup: rename V3D_MANIP_* -> V3D_ORIENT_*Campbell Barton
Wasn't obvious it's related to orientation, also term manipulator is no longer in use.
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-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-28Cleanup: sort forward declarations of enum & structCampbell Barton
Done using: source/tools/utils_maintenance/c_sort_blocks.py
2019-01-15Cleanup: commas at the end of enumsCampbell Barton
Without this clang-format may wrap them onto a single line.
2019-01-14Fix T57852: Mesh X Mirror option not workingCampbell Barton
D3869 by @lichtwerk w/ own edits
2019-01-14Cleanup: move comments above definitionsCampbell Barton
For clang-format not to wrap definitions.
2019-01-08Cleanup: comments causing bad clang-format outputCampbell Barton
2018-12-19Merge branch 'master' into blender2.8Philipp Oeser
2018-12-19Fix Proportional Edit Projected 2D method skiped center calculationPhilipp Oeser
rBa520e7c85c83 defined T_OVERRIDE_CENTER(1 << 25) which was already in use T_PROP_PROJECTED(1 << 25) thus skipping center calculation Fixes T58882, T59518 Reviewers: campbellbarton, brecht Maniphest Tasks: T58882, T59518 Differential Revision: https://developer.blender.org/D4100
2018-12-19Gizmo: optional custom orientations for transformCampbell Barton
This aims to resolve a conflict where some users want to keep keyboard axis setting global, even when the orientation is set to something else. Move/rotate/scale can optionally each have a separate orientation. Some UI changes will be made next.
2018-12-18Transform: when snap affect is off for a transform mode, ignore snap ↵Brecht Van Lommel
settings entirely. Ref D4022.
2018-11-29Transform: re-revert new user-axis-first behaviorCampbell Barton
This restores old behavior but leaves in new code which is more flexible. See: 6491d50d02b7 for feedback on why this isn't ideal.
2018-11-29Cleanup: simplify transform orientation cyclingCampbell Barton
Remove dummy first index, store a pointer to the user orientation instead of having it store twice (which could get out of sync).
2018-11-28Transform: default to user-defined orientationCampbell Barton
Previously we tried this but reverted (see 64d40c82c324) because there wasn't a predictable set of keys to use global-space. Now the keys are swapped: - 'GX' always transforms in the user defined orientation. - 'GXX' always transforms in global space. As before 'GXXX' cycles back to disabling constraints. This does have a down side that GXX won't be used for local-space when the user has global space set. Also, when global is the user-orientation, pressing GX and GXX does the same thing. Note: examples here use GX but could be any transform-mode/axis.