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
2021-06-25Fix T87185: value assigned to modal Scale does not work properlyCampbell Barton
`t->values` does not necessarily represent a final value of the transformation, as each mode treats this value differently. So, unfortunately, we cannot have a generic offset solution for modal transform operations. Offset needs to be handled by each mode. Note: Currently only, `Move`, `Rotate` and `Resize` support this.
2021-04-06Fix T86889: Rotation with top plane view glitchesGermano Cavalcante
The `InputAngle` function uses a flawed algorithm to fix precision issues. This commit refactor the logic of that function by using BLI utilities. Differential Revision: https://developer.blender.org/D10880
2021-02-09Transform: Expose the hardcoded Precision KeyGermano Cavalcante
As shown on the T85383, attempts are made to edit the precision mode key. But that key was hardcoded. That key now appears among the custom modal keymap items.
2021-02-05Cleanup: correct spelling in commentsCampbell Barton
2020-10-19Spelling: Then Versus ThanHarley Acheson
Corrects incorrect usages of the words 'then' and 'than'. Differential Revision: https://developer.blender.org/D9246 Reviewed by Campbell Barton
2020-09-30Cleanup: convert gforge task ID's to phabricator formatValentin
Cleanup old tracker task format to the new. e.g: [#34039] to T34039 Ref D8718
2020-08-08Cleanup: use array syntax for sizeof with fixed valuesCampbell Barton
Also order sizeof(..) first to promote other values to size_t.
2020-07-21Fix T79112: Redo shrink/fatten uses negative valuesCampbell Barton
The numbers in the redo panel were negated compared to the value entered while transforming.
2020-03-25Cleanup: update doxy sectionsCampbell Barton
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-18Cleanup: Resolve HKEY conflictRay Molenkamp
Both the MS headers and blender headers define the HKEY which gives all kind of inclusion order issues. This diff renames all *KEY constants to EVT_*KEY to resolve this conflict. Reviewed By: brecht , dfelinto Differential Revision: http://developer.blender.org/D7164
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.
2019-10-24Cleanup: comments, formattingCampbell Barton
2019-10-24Transform: reverse absolute, ratio vertical motionCampbell Barton
This only impacts push-pull & shrink-fatten. Flipping this matches zoom where moving the mouse cursor up increases the zoom-level. Previous behavior felt unnatural when adding gizmos to these tools.
2019-09-26WM: clean up cursors constants and codeBrecht Van Lommel
There was a mix of old and new constants. Now have one list of WM_CURSOR_* cursor types, using GHOST standard cursors when available and otherwise falling back to our custom cursors. Ref D5197
2019-08-16Cleanup: spellingCampbell Barton
2019-04-22Cleanup: style, use braces for editorsCampbell 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-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-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-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-15Correct last commitCampbell Barton
2019-01-15Fix T60507: Constrained transform shows all axesCampbell Barton
Regression in 579c01da600dd Move values_modal_offset use out of applyMouseInput to resolve order of initialization issue.
2018-10-19Cleanup: compiler warningsCampbell Barton
2018-10-17Transform: map mouse input to shear directionCampbell Barton
2018-10-17Transform: show arrows for 'custom' ratio inputCampbell Barton
Arrows are now shown for vertex/edge slide.
2018-06-15Fix mouse input overwriting transform redo valuesCampbell Barton
Redo trackball rotate and edge slide weren't working. Caused by re-ordering of initialization 47de0321bf68c
2018-05-24Fix T55178: Cursor fails to restore on cancelCampbell Barton
574c0fe38f332bd97c588029c0075ecba1fe19cd caused complications restoring the cursor. Use WM_cursor_modal_set/restore which is intended for operator use, calling ED_region_cursor_set after an operator runs isn't reliable.
2018-05-13Merge branch 'master' into blender2.8Campbell Barton
2018-05-13Cleanup: trailing spaceCampbell Barton
2018-05-08Extrude Widget: with/without axis constraintCampbell Barton
2018-05-06Transform: support initial offset optionCampbell Barton
Needed to redo extrude+transform macro w/o resetting the translation.
2018-04-28UI: replace transform hand icon w/ 4 arrowsCampbell Barton
The hand doesn't have a hotspot which you might want using manipulators
2018-04-28Cleanup: style, duplicate includesCampbell Barton
2018-04-25Fix cursor switching w/ transform redoCampbell Barton
Recent cursor changes stopped number button continuous grab.
2018-04-25Cleanup: indentationCampbell Barton
2018-04-23Manipulators/Tools: always draw a cursor while interactingInes Almeida
Cursor can be a system one or drawn with OpenGL. Before, dragging the transform manipulator would hide the cursor and reset it to the initial positon.
2017-06-02Fix T51691: Shear cursor input scales w/ zoomCampbell Barton
Use relative value from cursor movement.
2017-05-16Cleanup: gcc7.1 warningsCampbell Barton
2017-01-18Transform manipulator: Allow first clicking Shift before selecting axisSergey Sharybin
Avoids possible jumps when one is trying to do some really preciese tweak. Quite striaghtforward change for mouse input initialization: take Shift state into account. However, this will interfere with the axis exclusion which is currently also uses Shift (the feature to move something in a plane which doesn't have selected axis). This is probably not so commonly used feature (nobody in the studio even knew of it) and the only downside now would be that such a constrainted movement will become accurate by default. That's easy to deal from user side by just unholding Shift key. Reviewers: brecht, mont29, Severin Differential Revision: https://developer.blender.org/D2418
2016-01-29Fix crash running transform in background modeCampbell Barton
2015-12-17Transform: bend-mouse-input error initializingCampbell Barton
Missed from transform-mouse-input changes.
2015-12-02Cleanup: double-conversion warningsCampbell Barton
2015-11-12Transform input: don't change initial cursor valueCampbell Barton
Store previous coords in cursor data instead.
2015-10-30Transform: Support storing virtual cursor locationCampbell Barton
Grabbing now doesn't 'jump' when shift is released (matching rotation modes). This simplifies most logic for transform input, where mouse input callbacks can choose to use the 'virtual' cursor, which accounts for precision when shift is held.
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-27Fix T46606: Trackball Rotate jumps releasing shiftCampbell Barton
2014-06-14Replace sqrt with hypot for wipe-effect & transform codeCampbell Barton
2014-06-03Tweaks to bevel and crease transformSergey Sharybin
They were using INPUT_SPRING in a way which didn't allow it to easily redo the operator because INPUT_SPRING internally is stored as a ration between old value and new one and crease and bevel were converting this to value delta. Now made it special input type INPUT_SPRING_DELTA which is storing delta of the spring, meaning now values in the redo panel kind of makes sense -- they mean how much to add/remove to the crease/bevel weight. Expect to be no functional changes from interactive transform POV, just a bit more convenient to use redo panel.