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
2015-09-05Fix T45944: Ctrl+Wheel to cycle values failes in toolshelfJulian Eisel
Now, ctrl+wheel for cycling tabs is passed to hovered button if it supports cycling values (RNA menus, color/row/number/slider buttons, list boxes) This might feel a bit glitchy if ctrl+wheel is used to cycle tabs and in newly opened tab, a button with cycling support is under the mouse, which will get mouse input from this point on instead of region. Think this is still better than old behavior.
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-25Cleanup: double-promotion warningsCampbell Barton
2015-06-01Fix T44747: Drag toggle /w nodes (glitch)Campbell Barton
It was possible to perform actions while performing a drag-toggle.
2015-05-31Fix ugly drawing of closed panels in horizontal layoutJulian Eisel
Also minor cleanup
2015-05-31UI: comments (doxygen tweaks)Campbell Barton
2015-05-15Fix some issues found by Coverity ScanJulian Eisel
Some of them are just brain dead code, some are potential bugs.
2015-05-04Cleanup: wrapped function indentationCampbell Barton
2015-04-25UI: Panel drag-collapseJulian Eisel
D1233, Adds a way to quickly open/close multiple panels by holding LMB and dragging over the desired panels, Suggested by @maxon The decision if the panels are opened or closed is made based on the first Panel the user drags over. If it is closed, all panels he drags over are opened (including the first one) if it's opened, they get closed (matching existing drag-toggle logic).
2015-04-12Reset view after ctrl-clicking a PanelJulian Eisel
Using ctrl+LMB to collapse all panels except of the clicked one resulted in an empty area if done from a view that is scrolled down to some degree. Resetting the view makes this much better, although it still doesn't work that well if the area is really small, but I don't think it's worth over-complicating things here. "Feature-Request" by @maxon ;)
2015-04-07Revert Sticky Keys (and everything related to that)Julian Eisel
Our current keymap doesn't give us enough room to make such changes in the event system. To fix small issues caused by this, we would need to do drastic changes in Blender's keymaps and internal handling. It was worth a try, but it didn't work. I can write down a more descriptive statement in a few days, but for now I need a break of this stuff.
2015-04-03Sticky Keys backendJulian Eisel
Design task: T42339 Differential Revision: D840 Initial implementation proposal: T41867 Short description: With this we can distinguish between holding and tabbing a key. Useful is this if we want to assign to operators to a single shortcut. If two operators are assigned to one shortcut, we call this a sticky key. More info is accessible through the design task and the diff. A few people that were involved with this: * Sean Olson for stressing me with this burden ;) - It is his enthusiasm that pushed me forward to get this done * Campbell and Antony for the code and design review * Ton for the design review * All the other people that gave feedback on the patch and helped to make this possible A big "Thank You" for you all!
2015-01-31Compiler warning: double-promotionCampbell Barton
2015-01-26Cleanup: Remove ugly ELEM checks in modifier key handlingjulianeisel
Campbell once told me such checks can cause warnings on some compilers, so let's try to avoid them. From the theoretical view, this check works quite different than the old one, but in this case everything should work just like previousely.
2015-01-13Fix T43128: Headerless panels are reorderable on Windowsjulianeisel
Seems like a weird issue, but to sort panels "qsort" is used, which works slightly different on Windows. So all I had to do was cleaning up the logic in find_highest_panel so that headerless panels are sorted, but that it absolutly not allows headerless panels to be above normal panels. I made sure it works fine on Linux as well.
2014-11-21Cleanup: typoCampbell Barton
2014-11-11UI Refactor T41640Campbell Barton
Make the UI API more consistent and reduce confusion with some naming. mainly: - API function calls - enum values some internal static functions have been left for now
2014-09-04Fix T41704: 2.71.6 no longer reading user ui panel arrangement from earlier ↵Bastien Montagne
saved blend files. This reverts rB52c06440d8e51c8661a679bcb33742666ce8dbf9 and rBe40d8258bb46926a1aecf51236822532397993f3 (tabname is old 2.4x tabed panels system, *not* new 2.7x tool tabs!). Also disabled (#idef'ed) everything regarding tabname/tabed panels for now, we may even remove it completely, would make things clearer imho. Note files saved with 2.71.6 up till now would have two versions of some panels in store (with two different values for their tabname), can give some order oddities in those cases, which have to be fixed by hand...
2014-08-27Tabname should be fixed here as well.Antony Riakiotakis
2014-08-27Fix for uiPanelFindByType comparing wrong memberAntony Riakiotakis
2014-08-27UI: Warn when using fallback categoryCampbell Barton
Scripts should be updated.
2014-08-11Pie Menus C code backend.Antony Riakiotakis
This commit merges the code in the pie-menu branch. As per decisions taken the last few days, there are no pie menus included and there will be an official add-on including overrides of some keys with pie menus. However, people will now be able to use the new code in python. Full Documentation is in http://wiki.blender.org/index.php/Dev:Ref/ Thanks: Campbell Barton, Dalai Felinto and Ton Roosendaal for the code review and design comments Jonathan Williamson, Pawel Lyczkowski, Pablo Vazquez among others for suggestions during the development. Special Thanks to Sean Olson, for his support, suggestions, testing and merciless bugging so that I would finish the pie menu code. Without him we wouldn't be here. Also to the rest of the developers of the original python add-on, Patrick Moore and Dan Eicher and finally to Matt Ebb, who did the research and first implementation and whose code I used to get started.
2014-07-28UI: Change appearance for panel drag area (D637)Campbell Barton
Patch by blakenator with own edits
2014-07-19Defines: replace ELEM3-16 with ELEM(...), that can take varargsCampbell Barton
2014-05-02Fix incorrect sizes used copying panel idname, tabname.Campbell Barton
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-26Code cleanup: use 'const' for arrays (editors)Campbell Barton
2014-03-28Code cleanup: use sqrtf when input and output are floatCampbell Barton
2014-03-02Fix for collapse ignoring pinned panelsCampbell Barton
2014-02-24Fix T38810: ctrl + click panel collapse not taking tabs into account.Brecht Van Lommel
2014-02-22Fix T38348: Panel remains scrolled when switching tabsCampbell Barton
2014-02-21Fix own error - tab scrolling mixed up region/window coordsCampbell Barton
2014-02-17UI: wheel switches tabs over the tab area, or ctrl+wheel anywhereCampbell Barton
2014-02-10UI: panel tabs, use simple color interpolation that ignores alphaCampbell Barton
2014-02-08UI: support for alpha tab backgroundCampbell Barton
2014-02-05Fix T38478: pin panel, then ctrl+click to collapse others incorrectly ↵Brecht Van Lommel
unpinned panels.
2014-01-23Make Tab Divider interopolate between the region background and tab outline.Jonathan Williamson
Previously the divider was using the region background and the region text, leading to bad outlines with custom themes. This makes the outline behave more expectedly and allows better control.
2014-01-23Tab theme colorsCampbell Barton
patch D234 from Jonathan Williamson with edits - de-duplicate rna_def_userdef_theme_space_gradient and rna_def_userdef_theme_space_generic - ui_theme_init_new_do now always sets theme settings (no need to test), used by bpy.ops.ui.reset_default_theme()
2014-01-15Fix for mistake in recent shadow addition in tabsCampbell Barton
2014-01-15Fix T38207: Tab scale jitters when resizing regionCampbell Barton
2014-01-15Code Cleanup: use iroundfCampbell Barton
also increase precision of rctf print functions
2014-01-14Fix for icon pin drawing too large when (U.pixelsize != 1)Campbell Barton
2014-01-14Code Cleanup: minor edits to recent commitCampbell Barton
2014-01-14Missed a comment on last commit.Jonathan Williamson
This was missed in the previous commit. Adding back for future readability. Thanks @campbellbarton for spotting it.
2014-01-14Make Toolbar Tabs more readableJonathan Williamson
This makes the tabs slightly larger, increases the text size slightly, and adjusts the colors a bit to improve overall contrast. It also makes inactive tabs draw with a full tab shape, improving the readability at a glance, particularly when tabs are very small. The users most affected will be those on smaller displays, where previously tabs were very difficult to read. Reviewers: @billrey, @campbellbarton Differential Revision: https://developer.blender.org/D170
2014-01-13Fix T38171: Vertical tabs don't respond to clicks on the left most pixelsCampbell Barton
2014-01-05UI: pin icon was ignoring DPICampbell Barton
2014-01-05UI: Use shift+lmb for toggling panel pinning (not to conflict with MMB ↵Campbell Barton
emulation)
2014-01-04UI: Use bool rather then int/short's where possibleCampbell Barton
2014-01-04UI: Fix issue where tab text was too small and closely spacedCampbell Barton