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-09-04Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fixSebastian Parborg
No functional changes
2020-08-07Code Style: use "#pragma once" in source directoryJacques Lucke
This replaces header include guards with `#pragma once`. A couple of include guards are not removed yet (e.g. `__RNA_TYPES_H__`), because they are used in other places. This patch has been generated by P1561 followed by `make format`. Differential Revision: https://developer.blender.org/D8466
2020-07-28Cleanup: correct usage of extern-C blocks in various placesJacques Lucke
This removes extern-C blocks around other includes and adds such blocks for some headers that need them.
2020-04-03Cleanup: Rename ScrArea variables from sa to areaJulian Eisel
Follow up of b2ee1770d4c3 and 10c2254d412d, part of T74432. Now the area and region naming conventions should be less confusing. Mostly a careful batch rename but had to do few smaller fixes. Also ran clang-format on affected files.
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.
2020-01-14Fix T70273: Auto-keyframe ignored by gizmosCampbell Barton
2020-01-09Fix T72900: Mouse-move causes redraw when gizmos are hiddenCampbell Barton
Move redraw tagging to the gesture modal operator to make sure this only runs when it's needed. Caused by d591c8a350310, which tagged the region to redraw when the gizmos were tagged to refresh, however they wont redraw when hidden. Thanks to @jbakker for finding the root cause.
2019-12-18Gizmo: add the ability to postpone refreshing while tweakingCampbell Barton
This resolves a logical problem using tweak as a fallback tool. See: T66304#828742 The select action would immediately show the gizmo underneath it, then the tweak would be handled by the gizmo instead of moving the item under the cursor. Currently this works by hiding the gizmo until the tweak event ends. While it's simpler to check if the gizmo received a mouse-down event, it causes flickering before each drag event which feels like a glitch. This is optional for each gizmo type because there are cases where this can be useful to activate the gizmo immediately (mesh rip for example).
2019-12-18Cleanup: use wrapper function for gizmo group refreshCampbell Barton
Allows for adding checks before/after refresh, not yet added.
2019-06-28Fix T63694: Crash using tool gizmos with multiple windowsCampbell Barton
Gizmo group types now store a user count so they aren't unlinked while other tools are using them. The tool system now works with multiple windows.
2019-06-28Fix error for tools that share gizmo types doubling up gizmosCampbell Barton
Introduced in recent commit c93af8529dfec
2019-06-27Cleanup: clarify WM_gizmoconfig function namingCampbell Barton
2019-06-24Fix T66071: Navigation tooltip shows outside of 3D viewCampbell Barton
Clear gizmo highlight when the cursor leaves the region.
2019-06-07Keymap: gizmos now use a map that optionally activates on pressCampbell Barton
The legacy keymap now activates on press.
2019-05-30Cleanup: rename callbacks to match the struct member nameCampbell Barton
2019-05-29Keymap: add drag-only generic gizmo keymapCampbell Barton
Allows gizmos clicks to fall through for gizmos which only drag, currently unused.
2019-05-29Cleanup: move gizmo keymap access into funcitonsCampbell Barton
Existing functions were written to match the setup_keymap callback. Add versions that can be called with the window manager for convenience.
2019-05-24Keymap: use a generic gizmo keymap by defaultCampbell Barton
While support for gizmo specific keymaps remains, this should only be used if a gizmo-group is doing something that requires one. There was also a hidden limitation that meant only the last registered tweak keymap would ever be used. For now leave this using the generic keymap since all tweak modal keymaps were using the same template anyway.
2019-05-24Keymap: share 3D view transform keymapsCampbell Barton
While internally these are separate gizmos, there is no reason to have a keymaps for each. Also prefix the gizmo with "3D View" since there are other kinds of transform gizmos.
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-07Fix gizmos not responding to theme color updatesCampbell Barton
Re-create gizmos when changing theme colors, since theme colors don't change often this allows gizmos to setup their colors on initialization.
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-15Fix T60905: Crash using smooth toolCampbell Barton
Tools were relying on gizmos drawing to initialize their gizmos, now tool gizmos are initialized immediately.
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-28Cleanup: sort forward declarations of enum & structCampbell Barton
Done using: source/tools/utils_maintenance/c_sort_blocks.py
2019-01-23Gizmo: add support for gizmos to initialize from the active toolCampbell Barton
2019-01-22Fix T60112: Smooth crashes w/ multiple viewsCampbell Barton
2018-12-30Cleanup: remove non-existing function declarationsCampbell Barton
2018-10-18Cleanup: move gizmo sort functions into an APICampbell Barton
2018-09-17Gizmo: Functions to re-initialize a group typeCampbell Barton
Partially re-initializing a gizmo is often more trouble then removing and re-adding.
2018-09-13Cleanup: use float name in property range functionCampbell Barton
2018-09-06UI: delay tool label tip displayCampbell Barton
Displaying the labels tip immediately feels too intrusive, make this work more like regular tooltips, displaying more quickly. Tooltips can now uses multiple passes, each pass with it's own delay for the next pass to show.
2018-08-21Cleanup: rename gizmo access functionsCampbell Barton
Add float in API names since we may want access to other types.
2018-07-30Silencing a bunch of compiler warningsJoshua Leung
Most of these were mismatched const qualifiers
2018-07-15Cleanup: use variable names based on term gizmoCampbell Barton
2018-07-15Cleanup: style, doxy fileCampbell Barton
2018-07-15WM: rename manipulator to gizmo internallyCampbell Barton
2018-07-15WM: rename files, manipulator -> gizmoCampbell Barton
Edit doxy files and header guards only.