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-06-16Cleanup: unused headers, spellingCampbell Barton
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
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-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-06Tool System: experimental fallback tool supportCampbell Barton
Implement T66304 as an experimental option, available under the preferences "Experimental" section. - When enabled most tools in the 3D view have a gizmo. - Dragging outside the gizmo uses the 'fallback' tool. - The fallback tool can be changed or disabled in the tool options or from a pie menu (Alt-W).
2019-11-22Gizmo: show extrude gizmos with dark '+' instead of negative spaceCampbell Barton
2019-10-24UI: partial revert of renaming Normal -> RegularCampbell Barton
These instances refer to winding/direction.
2019-06-07Keymap: gizmos now use a map that optionally activates on pressCampbell Barton
The legacy keymap now activates on press.
2019-05-30Gizmo: activate some gizmos on drag instead of pressCampbell Barton
Use drag-only keyamp to adjust gizmos which use drag motion to change a value. By default gizmos still activate on press. This allows for left click select to be used with transform without the gizmos getting in the way. Even though this isn't necessary for right click select it allows click events to pass through and be used by tools which can be useful. Resolves T63996
2019-05-27Gizmo: add event argument to invoke_prepare callbackCampbell Barton
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-05Cleanup: minor adjustment to gizmo extrude setupCampbell Barton
No need to access both edit & active object.
2019-03-04GPencil: New extrude operatorAntonioya
Keymap: E - Extrude Gizmo supported. If the extrude points are the first or last of the stroke, the stroke is extended. If the extrude points are in the middle of the stroke, a new stroke is created because the grease pencil strokes can be only with 2 extremes and fold the stroke to get a new point gets very bad results. Still pending define a new icon. Also, it could be good to set by default XYZ axis in the gizmo. Note: There is a change in the transform_gizmo_extrude_3d.c gizmo for OB_MODE_EDIT_GPENCIL. This change must be undo when the mode will be integrated into OB_MODE_EDIT, but while we have both modes, we need to keep this code in order to keep running the gizmo.
2019-02-27Transform: refactor orientation naming and usasgeCampbell Barton
Transform orientation was previously related to constraints, recent changes meant it was used even when not constraining to an axis. Now transform orientation is separate from axis constraints.
2019-02-21Transform: remove constraints from the redo panelCampbell Barton
Constraint options had confusing behavior: - When non were pressed, the orientation was ignored. - When any were pressed, the orientation was used, but only unconstrained axed could be adjusted. Now constraining is only used for modal execution so there is no need to show these in the interface. When an orientation is selected, the XYZ values always transform using that space. Note, transform system should be refactored to support different orientations w/o having to use constraints. Addresses T57204
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-12Fix T51771: UI Messages: Reserve 'Normal' to its geometric meaning.Bastien Montagne
Using 'Regular' instead for the common meaning, this avoids having to add some i18n context disambiguation...
2019-02-08Cleanup: rename V3D_MANIP_* -> V3D_ORIENT_*Campbell Barton
Wasn't obvious it's related to orientation, also term manipulator is no longer in use.
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-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
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-07Cleanup: add trailing commas to structsCampbell Barton
2018-12-19Gizmo: optional custom orientations for transformCampbell Barton
This aims to resolve a conflict where some users want to keep keyboard axis setting global, even when the orientation is set to something else. Move/rotate/scale can optionally each have a separate orientation. Some UI changes will be made next.
2018-11-21Gizmo: show dial handle for unconstrained extrudeCampbell Barton
Now only show an arrow when extrude was constrained on an axis.
2018-11-21Gizmo: set operator options before executionCampbell Barton
Avoid setting all operator options every redraw, instead set them before invoking.
2018-11-21Gizmo: workaround for extrude modifying normals for XYZ axisCampbell Barton
This was done for the normal gizmo, but not the XYZ handles.
2018-11-21Gizmo: use Y-axis for armature extrude on normalCampbell Barton
For bones it's useful to extrude a bone aligned to the existing bone.
2018-11-21Gizmo: set the extrude transform constraint matrixCampbell Barton
2018-11-21Cleanup: rename extrude gizmoCampbell Barton
2018-11-21Cleanup: move extrude gizmo to transform moduleCampbell Barton
Since this is no longer mesh only, move out of mesh, rename next.