Age | Commit message (Collapse) | Author |
|
No functional change, this adds LIB definition and args to cmake files.
Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS'
since there are many platforms/configurations that could break when
changing linking order.
Manually add and enable WITHOUT_SORTED_LIBS to try building
without sorted libs (currently fails since all variables are empty).
This check will eventually be removed.
See T46725.
|
|
|
|
|
|
Draw as an outline while using solid selection.
|
|
|
|
When the area of the crop node is zero the hotspot margin becomes infinite.
This makes the gizmo by default think the translate mode hotspot is everywhere.
This fix will return a state if the INFINITY is detected so we can
return the hotspot drawing.
The cage2d gizmo is still not usable for sizes of 0 by 0 as now it won't
draw anything. the issues of the gizmo should be re-designed so we can
mitigate these limitations. But that is out of scope for this fix.
Reviewed By: campbellbarton
Maniphest Tasks: T62248
Differential Revision: https://developer.blender.org/D4516
|
|
|
|
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.
|
|
Needed for clan-format not to wrap onto one line.
|
|
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.
|
|
|
|
Needed for clang formatting to workaround bug/limit, see: T53211
|
|
Use struct member instead,
there are already many gizmo flags to keep track of.
|
|
|
|
|
|
|
|
|
|
Thanks to Clément for finding the fix!
|
|
- new "Align to View" option when loading a new image
- automatically align to view when dropping an image into a viewport
- larger default size for image empties
- fix image empty gizmo in orthographic view
- new "Align Objects to View" operator
Reviewer: brecht
Differential: https://developer.blender.org/D3778
|
|
- immAttrib* -> immAttr*
- immSkipAttrib -> immAttrSkip
Term 'attr' is a convention for GPU module.
|
|
This prevents misalignment with the Spin tool gizmo for example.
|
|
|
|
|
|
|
|
Transform the gizmo's drawing function into a generic function for use in other parts of the code.
|
|
I had to make the viewport navigation icons a bit smaller in the SVG since
the edges were being clipped off, we only support 16x16 icons currently.
They are a bit blurry because of this.
|
|
|
|
This allows the gizmo to snap to 3D view elements,
Although currently this isn't usable gizmo's that use operator redo.
|
|
|
|
Useful for click w/o drag to spin a full revolution.
|
|
|
|
|
|
New handle type for initial spin,
gives clear differentiation between do & redo (similar to extrude).
Some tweaks still required to match T56571.
|
|
Failed with obvious error when the dials scale wasn't 1.0
|
|
|
|
|
|
When projecting the cursor onto a plane, clipping isn't important.
|
|
|
|
|
|
- Add Arc-Inner-Factor, to increase the inner arc radius from 0
(show as a disk).
- When showing an angle value, show the angle-end line thicker
(since thats whats being adjusted).
- Remove offset used by arc drawing which caused aliasing artifacts.
|
|
Also disable polygon smooth before drawing arc.
|
|
This makes it impossible to rotate the gizmo using the matrix Y axis.
Testing without this and I can't find any cases it breaks.
|
|
|
|
|
|
Was showing modal-delta-angle, which isn't useful for the spin tool.
|
|
Needed for spinning multiple revolutions.
|
|
Allows holding Ctrl to snap w/ the spin tool.
|
|
|
|
Missed in recent update to event handling.
|