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-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-11-21Bevel: Custom Profile and CurveProfile WidgetHans Goudey
Custom profiles in bevel allows the profile curve to be controlled by manually placed control points. Orientation is regularized along groups of edges, and the 'pipe case' is updated. This commit includes many updates to comments and changed variable names as well. A 'cutoff' vertex mesh method is added to bevel in addition to the existing grid fill option for replacing vertices. The UI of the bevel modifier and tool are updated and unified. Also, a 'CurveProfile' widget is added to BKE for defining the profile in the interface, which may be useful in other situations. Many thanks to Howard, my mentor for this GSoC project. Reviewers: howardt, campbellbarton Differential Revision: https://developer.blender.org/D5516
2019-09-30Fix T58683: Reload Scripts breaks toolbar button formattingCampbell Barton
Add a function which clears internal cached operator pointers, run before reloading scripts.
2019-09-30Revert "Fix T58683: Reload Scripts breaks toolbar button formatting."Campbell Barton
This reverts commit ba90d2efa58fe23a87f98e014bcc02ea951a6a49. This can be resolved without adding a boolean to all operator types to check if it's "WM_OT_tool_set_by_id".
2019-09-29Fix T58683: Reload Scripts breaks toolbar button formatting.Alexander Gavrilov
Assuming it's actually necessary to do this check very efficiently, replace the hack based on caching a pointer, with a different one that caches the string comparison result in the operator object.
2019-09-20Fix T69097: Empty context menu for dimensionsCampbell Barton
Adjust empty menu check to skip the menu title.
2019-09-04Expose button UTF8 check in UI_interface.hJulian Eisel
Used in following commit.
2019-07-31Revert "UI: remove checks for other popovers when switching menu"Sebastian Parborg
This reverts commit 77616571292ab1eeb9805797bfdd4525cc306923. This commit broke overlapping popovers. For example in the color management tab it would be impossible to select and of the popover alternatives as it would switch to the menu button under the cursor.
2019-07-31UI: remove checks for other popovers when switching menuCampbell Barton
I'm unable to redo the original report, Revert fix for T43247..
2019-07-31UI: simplify check for active menu buttonCampbell Barton
Dragging to select another popup now checks the menus active button.
2019-06-12Cleanup: spelling in commentsCampbell Barton
2019-04-30Fix T63912: don't collapse menu separators for pie menusHarley Acheson
Differential Revision: https://developer.blender.org/D4748
2019-04-25UI: hide redundant menu separators automaticallyHarley Acheson
Differential Revision: https://developer.blender.org/D4682
2019-04-23Cleanup: minor changes to scrollbar checksCampbell Barton
Remove some redundant comments & declare vars in for loops.
2019-04-23UI: ignore events in empty region overlap areasCampbell Barton
- Resizable areas use 2D view bounds. - Header uses the button bounds. - A margin is added to avoid clicking between buttons. - Region resize edges clamp to the 2D view bounds. Resovles T61554
2019-04-23UI: move auto_open clearing out of ui_region_contains_point_pxCampbell Barton
Prefer explicit call for menu buttons since it's confusing if only some queries clear auto open. Also queries shouldn't modify data.
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-27UI: support an 'active default' button for pop-upsCampbell Barton
Use this for the save confirmation dialog so it has a default action when pressing enter which draws with a highlight so it's clear what the default action is (the dialog was just closing before). Resolves T57686
2019-03-25Cleanup: use braces for interface codeCampbell Barton
2019-03-22Cleanup: minor UI code changesCampbell Barton
- Rename ui_but_find_active_in_region -> ui_region_find_active_but - Remove ui_but_is_active (use ui_region_find_active_but instead) - Re-order ui_but_* functions take the button as their first arg.
2019-03-22UI: refactor queries into interface_query.cCampbell Barton
interface_handlers.c is quite large (over 10k lines), move general button utility functions into a separate file.
2019-03-15Tool System: split UI label from tool identifiersCampbell Barton
Prepare for exposing tool registration to the Python API. - Generated tools can use their own prefix so naming collisions won't happen between hard coded & generated tools. - Add-on authors can use the add-on name as a prefix. Currently the names match, renaming will happen next.
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.
2018-09-06UI: tweak tool bar tooltipsCampbell Barton
- Only show label-tips when tools are icon-only. - Don't show shortcuts in label-tips. - Position both tool label & full tips around the button bounds.
2018-09-05UI: show a small label next to the toolCampbell Barton
Instead of showing the full tip immediately when hovering over a tool, show only the (label, shortcut), without suppressing the regular tip.
2018-09-04UI: support immediate non-overlapping tooltipsCampbell Barton
Use these for the toolbar, since they're non-overlapping the interface, showing them quickly isn't a problem.
2018-07-31Fix T56155: Header shows in popover context menuCampbell Barton
2018-07-31Merge branch 'master' into blender2.8Campbell Barton
2018-07-31UI: add check for any kind of popupCampbell Barton
Fixes T56155 when merging into 2.8
2018-07-01Merge branch 'master' into blender2.8Campbell Barton
2018-07-01Cleanup: right shift in interface codeCampbell Barton
2018-06-30UI: move queries into interface_query.cCampbell Barton
2018-06-30UI: Add 'interface_query.c'Campbell Barton
Interface files are increasingly mixing up too much functionality, add a file only to handle queries. More functions can be moved/added here.