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
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.
2014-04-26Code cleanup: use 'const' for arrays (editors)Campbell Barton
2014-04-25Spelling error fixesJoshua Leung
2014-03-28Code cleanup: use sqrtf when input and output are floatCampbell Barton
2013-10-23code cleanup: minor transform refactorCampbell Barton
redraw flag were mixing up types - int/char/bool, add enum type to use instead.
2013-10-13improve warp transform so it can be used as a general bending tool too.Campbell Barton
2013-10-12transform - use 2d float's for the viewport center (allows for vector math ↵Campbell Barton
functions to be used more easily).
2013-04-24fix for crash changing transform modes rotate/edge-slide/grab. ↵Campbell Barton
setCustomPoints() assumed allocated member was big enough which wasnt the case when switching from rotate.
2013-04-19code cleanup: remove unused vars in edge slide, only store the initial ↵Campbell Barton
vertex coords rather then a copy of the whole vertex, name edge slide directions a/b rather then up/dowb.
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-02-11fix for memory leak in transform when changing transform modes within transformCampbell Barton
(if you held down the R-key for example).
2013-02-02style cleanupCampbell Barton
2013-02-01fix error with flipped vertex slide failing, also fix bug where you could be ↵Campbell Barton
flipped and in proportional vertex slide mode.
2013-01-15vertex slide was using flipped value, wasnt so noticable unless you types in ↵Campbell Barton
a value.
2013-01-14fix for own error with unwrap selection checking uvedit_have_selection() ↵Campbell Barton
failed with no UV layer. also add some safety checks for BM_ELEM_CD_GET_* macros.
2012-12-14style cleanupCampbell Barton
2012-12-13Fix #33500: when transforming, tapping shift twice and holding did not enableBrecht Van Lommel
precision mode. Not really the intended way to use this but it revealed a bug in the event handling here.
2012-06-11style cleanupCampbell Barton
2012-05-23code cleanup: double promotion warningsCampbell Barton
2012-05-21code cleanup: spellingCampbell Barton
2012-05-19style cleanup: whitespace/indentationCampbell Barton
2012-05-09style cleanup: whitespace/operatorsCampbell Barton
2012-05-04code cleanup: double promotion & some style cleanupCampbell Barton
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-06style cleanup, brackets in else/if, some indentation.Campbell Barton
2011-12-03Fix #29483: edge slide gives nan when zoomed in close. Cause was integerBrecht Van Lommel
overflow leading to negative value for sqrt().
2011-11-07replace VECCOPY with copy_v3_v3, same for 2d copy, also added vec copy ↵Campbell Barton
functions for int & char.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-13comment own recent memory leak fix since it broke edge slide.Campbell Barton
2011-10-13fix for leak when switching between transform rotation modes.Campbell Barton
2011-09-28whitespace edits, make formatting for functions consustent at least within ↵Campbell Barton
the file.
2011-05-20use event->mval rather then subtracting ar->winrct.x / y from event->x / yCampbell Barton
2011-05-12for bug [#27358] Transform bug when transform > 500Campbell Barton
mouse coords would with cont. grab would wrap at short. use mouse coords as int rather then short. this problem still happens on linux because of XTranslateCoordinates
2011-05-01Style CleanupCampbell Barton
- duplicate cases in if/else - calc inside sizeof(...) - redundant NULL checks. - assignment to self. - fix error getting text prefix for screen ID button.
2011-04-21pass even mouse coords value as const so its not edited, ↵Campbell Barton
view3d_get_view_aligned_coordinate() could modify the event->mval.
2011-03-28transform: floats were being implicitly promoted to doubles, adjust to use ↵Campbell Barton
floats. also use macros RAD2DEGF & DEG2RADF.
2011-03-24fix [#26598] zoom view and scaling odd vertices circle Campbell Barton
2011-02-27doxygen: blender/editors tagged.Nathan Letwory