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
2013-05-26code cleanup: typosCampbell Barton
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-02-27Report #34450Ton Roosendaal
Fix for 2.66a Some editors in Blender (Like Graph) have "maxzoom" set to 0, which caused the MMB zoom sensitivity to be minimal. That used to be much more responsive, restored it to how it worked before.
2013-02-27enable grabbing for 2d view zooming, good for the graph editor.Campbell Barton
2013-02-18Bug fix #34292Ton Roosendaal
CTRL + MMB zoom in 2d editors now depends on 'max zoom' level. This makes zooms in UI (very limited) go smoother, but for fcurve or timeline it's same.
2013-01-12Usability:Ton Roosendaal
Ancient annoying thing for zooming in 2d views: when a view was restricted to keep aspect ratio, it only allowed vertical or horizontal MMB-drag zooms, depending portrait or landscape size of editors. Same for trackpad and magic mouse. Now vertical zoom drag always works for editors like buttons, nodes.
2013-01-06Solving nasty annoyance:Ton Roosendaal
Trackpad zoom (swipe + CTRL) direction was inverted compared to MMB-drag or scrollwheel usage. In the 3D viewport it was OK, in all others not. Now the same physical gesture maps identical to zooming everywhere. Or to recap (with blender factory settings) Zooming in: - MMB-drag, move mouse towards screen - Scroll wheel, move finger towards screen - Magic Mouse, move finger towards screen - Trackpad 2-finger swipe: move fingers toward screen. To make this extra confusing: this is only consistent if you set your system to inperpret trackpad swipes as "inverted" (pan view left = swipe to right). This is a typical default, although Apple wants you to call this "Unnatural" :) Next commit will be testing on laptop if all pinch gestures zoom consistent. And following to that, a sensible user preference to map trackpad use for Blender yourself, to invert system defaults again. :) Blame and thanks goes to Sebastian Koenig, for his perseverance on getting this solved :)
2012-12-29Trackpad fixes & changes:Ton Roosendaal
- UV Image editor and other 2d views didn't zoom for CTRL+swipe yet. (2 finger trackpad, 1 finger mighty mouse) - Switched defaults for 3D window swiping... - default rotate view - SHIFT for translate - CTRL for zooms This makes all editors use 'swipe' like 'middle mouse', and not like scrollwheel (as in releases). This is nice for consistancy, but it still feels a bit weird... Of course users can config this in keymaps. We need a sensible default though, and to make a 2D input input device behave like middle mouse seeems more sensible than like a 1D wheel... Proposal therefore for defaults: - 1D scrollwheels: zoom in 3d, zoom in 2d, but scroll for list views. - 2D trackpads: pan for all 2d views, rotate for 3D I'll check with frequent trackpad users about this and we can freeze it before release. Give it a try :)
2012-12-26Region scrollbar fix!Ton Roosendaal
Now scrollbars correctly hide and show, making space for the actual contents in a region. It solves several old hacks, and puts view2d code a bit more back in control as well. Implementation notes: - The view2d mask feature is working again - The #define V2D_SCROLL_HORIZONTAL_HIDE means: "turn on hiding". - Code for UI_view2d_region_reinit() is enforcing better standard view settings But... two hack/patches needed to be added: - Region panel drawing: if after generating the button panels it appears a scroller hides or reveils, it calls all the generating code again. (a simple scale doesn't work due to rounding differences in layout code) - View2d code that maps 'tot' and 'cur' rects: if this code detects that the mask changes, it calcs the map code again. Also a bugfix (issue in 2.65) - The left/bottom area split widget was drawing 1 pixel too large sometimes, leaving bad trails on moving area dividers.
2012-12-22code cleanup and minor changesCampbell Barton
- use DummyRNA_NULL_items to replace empty enums. - replace calloc with malloc in copy_dverts since its copied over after. - add wmGesture->userdata, so operators that use gestures have somewhere to store their own data (not used yet).
2012-12-21Bug fix, own collection:Ton Roosendaal
User preference "Zoom Scale" didn't work correct for 2d views. (was calculating center of region badly).
2012-10-23rename api functions...Campbell Barton
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-13Make zoom direction consistent all over the editorsSergey Sharybin
Was discussed in De Balie with lots of artists and we agreed it makes more sense to behave this way
2012-10-09Revert part of 51209 -- MOUSEZOOM inversion should be done in lots of otherSergey Sharybin
places as well, but it's quite large change to be done before 'a' release. For now ignore zoom inverse for 2d view to keep things consistent, would be re-implemented for all areas after this.
2012-10-09OSX zoom pinch was using inverted directionSergey Sharybin
2012-10-08Correction to zoom-t-mouse formula which was broken since view2d drag zoom ↵Sergey Sharybin
refactoring
2012-09-28Made View2D drag zoom behave in the same way as zoom in 3d viewportSergey Sharybin
Initially issue was caused by opposite MMB-Drag zoom direction in nodes editor. Made it so MMB-Drag in negative axis direction (down for Y axis and left for X axis) would zoom in, moving in opposite direction will zoom out. This could kind of break muscule memory, but after discussion with Campbell decided it's not so big a problem -- seems users weren't related on direction of zoom in and just waved mouse around until zoom is correct. And now muscule memory should even be a bit better -- drag zoom is unified between different areas.
2012-09-28fix [#31476] DopeSheet GreasePencil Mode Window won't scroll upCampbell Barton
2012-09-28correct own typo from r43404Campbell Barton
2012-09-27correct debug/test assignment being left in the UI_view2d_smooth_view() so ↵Campbell Barton
it always recalculated.
2012-09-15code cleanup: replace macro for BLI_rect size/center with inline functions.Campbell Barton
2012-09-09style cleanup:Campbell Barton
also remove some redundant conversions int -> short -> int
2012-08-26Fix zooming in/out preview in sequencerSergey Sharybin
It was a regression since disabling Y-axis zooming in sequencer. Now check region type and allow all kind of zooming for preview region.
2012-08-23sequencer zooms horizontal only from mouse wheel and plus buttons.Campbell Barton
2012-08-22code cleanup: use rect size macrosCampbell Barton
2012-08-21code cleanup: use BLI_RCT_SIZE macroCampbell Barton
2012-08-20macros for rectangle center and sizeCampbell Barton
2012-08-13add hook now has option to add to active bone (mango request).Campbell Barton
2012-08-12confusion minf/fmin, broke msvcCampbell Barton
2012-08-122d smoothview now scales back the time to move for smaller view zoom/panning.Campbell Barton
also the compositor bounds (used for scroll bars), were only calculated when pressing the home key in 2.63, how this is updated on draw
2012-08-12smooth-view for 2d views, graph editor, sequencer, node view, works with ↵Campbell Barton
border zoom, view selected, view all.
2012-08-09utility functions for getting/setting rectangles for operators.Campbell Barton
2012-07-21style cleanupCampbell Barton
2012-07-08style cleanupCampbell Barton
2012-07-07style cleanup: use c style comments in C codeCampbell Barton
2012-03-30style cleanup: interfaceCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-24style cleanup: mainly for mesh code, also some WM function use.Campbell Barton
2012-03-22style cleanup: spaces aroudn operators for operator definitions.Campbell Barton
2012-03-18spelling cleanupCampbell Barton
2012-03-04style cleanup - comment spelling + translate some dutch.Campbell Barton
2012-03-03style cleanup - use aligned * prefixed blocks for descriptive comments (was ↵Campbell Barton
already used a lot and part of proposed style guide).
2012-03-03style cleanup - spelling corrections & update some incorrect comments.Campbell Barton
2012-03-02style cleanupCampbell Barton
- spelling - turns out we had tessellation spelt wrong all over. - use \directive for doxy (not @directive) - remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
2012-01-16more keymap editsCampbell Barton
- make sure defaults are not assumed (so reuse last settings doesnt override) - replace 0/1 for TRUE/FALSE defines.
2012-01-15support for quick jump to scroll area with middle mouse clicking on scroll ↵Campbell Barton
area (become used to this for qt and gtk apps)
2012-01-08Fix for [#28978]Alexander Kuznetsov
Disabling mode switching in panning in 2d as it is disabled in 3d also. Apparently, it is a not good idea to call modal method from a modal method as the last won't be canceled.
2011-11-19replace fabs with fabsf where both input and output are floats.Campbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n