Age | Commit message (Collapse) | Author |
|
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
|
|
Mostly functions wrapping args, not confirming to our style guide.
|
|
While \file doesn't need an argument, it can't have another doxy
command after it.
|
|
Move \ingroup onto same line to be more compact and
make it clear the file is in the group.
|
|
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.
|
|
Use 3D cursor from the scene (was previously used for local-view).
|
|
Bring back per-viewport localview. This is based on Blender 2.79.
We have a limit of 16 different local view viewports.
We are using both the numpad /, as well as the regular /.
Missing features:
* Hack to make sure lights are always visible.
* Make rendered mode with external engines to support this as well
(probably just need to support this in the RNA iterators).
* Support over 16 viewports by taking existing viewports out of local view.
The code can use a cleanup pass in the future to unify the test to see
if an object is visible (or we can use TESTBASE in more places).
|
|
Since this is no longer mesh only, move out of mesh,
rename next.
|
|
Was giving errors on each access.
|
|
|
|
|
|
|
|
Checking the active tool or operator was a common way to check
if the gizmo was still in use.
|
|
Abbreviate to 'ggd', replacing manipulator reference.
|
|
It was possible to adjust extrusion after selection.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Supporting the ctrl+click operator for multiple objects.
When no vertex is selected we only add a new vertex for the active object.
I'm using all the selected vertices to calculate the center of transformation
regardless of the object they come from. This way we have the same effect if the
meshes are joined together or kept as individual objects.
Thanks Campbell Barton for reviewing the patch.
|
|
|
|
|
|
|
|
Edit doxy files and header guards only.
|
|
|
|
|
|
Without this we need to have the context to get the
(space_type, mode) args for an active tool lookup.
For event handling & poll its more convenient to have direct access.
|
|
Was using object mode in the workspace API which isn't
useful for accessing tools.
|
|
This patch adds support for:
- Per space-type tools (3D view and edit).
- Per mode tools (object, edit, weight-paint .. etc).
The top-bar shows the last activated tools options, this is a design
issue with using a global topbar to show per-space settings.
See D3395
|
|
Now plus icons are used to add,
arrows are used to adjust existing extrusions.
|
|
|
|
|
|
Always show normal axis since this is the most used,
even when another orientation is selected.
|
|
|
|
Use filled circle for redo
|
|
Currently set when setting the cursor location,
optionally used as an orientation type.
Intended for use by tools too.
See: D3208
|
|
Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3224
|
|
Needed so changing orientation refreshes.
|
|
The tool manipulator could become disabled when set in the wrong mode.
|
|
Add extrude operator that's intended to work on the current selection
and be activated as a tool.
|
|
|
|
|
|
|
|
|
|
This manipulator is a test for mixing do/redo,
there are still some glitches that need sorting out in
transform & the undo stack.
|
|
|
|
Since these will have their own manipulators,
its more convenient to keep them separate.
|