23df1a774b
Fix/Cleanup: I18N: Bad usage of IFACE_ instead of TIP_.
...
Cheap tip: anything that is not "Camel Case" and/or that is more than
a few words long should use `TIP_` translation, not `IFACE_` one.
Also added several missing strings (including the one reported in D5056
by Jean First (@robbott ), thanks).
2019-06-11 22:25:01 +02:00
Dalai Felinto
d5b813301a
Fix T65330: Blender crash when double click on face
...
The fix itself is by Germano Cavalcante (mano-wii).
But since I was investigating this with him, I'm including here an
assert in EDBM_select_id_bm_elem_get to help catching this sooner
in the future
2019-05-31 18:41:18 -03:00
aba4e6810f
Cleanup: style, use braces in source/ (include disabled blocks)
2019-05-31 23:22:52 +10:00
e4ac8ab212
WM: support X/Y axis cursor wrapping
...
Operator flags to wrap on a single axis.
D4865 by @Gvgeo with updates.
Resolves T64585
2019-05-29 00:52:43 +10:00
219e6a98c6
Fix show face-dot check
...
Match edit-mesh drawing.
2019-05-28 11:46:26 +10:00
7a308e65ef
Cleanup: Fix warning in bf_editor_mesh
...
Declaration and implementation of EDBM_select_id_context_create got
out of sync leading to warning with msvc.
2019-05-27 09:12:11 -06:00
b6a0027de3
Gizmo: add event argument to invoke_prepare callback
2019-05-27 23:59:36 +10:00
George Vogiatzis
352474ced8
Fix T65002: after hiding edit mode object, clicking in wireframe mode crashes
...
Differential Revision: https://developer.blender.org/D4926
2019-05-23 15:27:31 +02:00
60319e25f2
GPU: Refactor GPU_batch_draw_range_ex
...
Rename it to GPU_batch_draw_advanced and use base instance when possible.
Also add GPU_batch_bind to bind the vao independantly of drawing commands.
2019-05-22 13:29:05 +02:00
522320dadf
Fix T64738: pick short path seam not doing live unwrap
2019-05-21 18:07:47 +02:00
a08fb46700
UI: move edge-tag option from the scene into the operator
...
This was a very specific option to display in global tool settings.
Now this is exposed in the operator when edge-select mode is enabled.
2019-05-21 11:15:26 +10:00
e787700393
Fix memory leak in Normals from Faces operator
2019-05-21 08:03:29 +10:00
9efe117535
Normal UI: for all ops needing autosmooth on, enable it if needed.
...
Now Normal menu operations and rotate normals (r n) do not need
manual enabling of autosmooth first.
See T64324 for discussion of Normal UI changes.
2019-05-20 12:16:34 -04:00
c09f461e04
WM: add wmGenericUserData utility struct
...
Useful to have a generic user data with an optional custom free function,
use for wmGesture.
2019-05-20 16:26:37 +10:00
d496236f4a
Cleanup: move selection utilities into ED_select_buffer_utils
2019-05-20 13:19:24 +10:00
164b6c5b04
Cleanup: remove EDBM_backbuf API
2019-05-20 12:39:01 +10:00
0e1faba9d0
3D View: use new buffer selection API's for paint vert/face select
...
Removes EDBM_backbuf use.
2019-05-20 12:36:31 +10:00
ec02bc299e
Edit Mesh Select: Fix/update to new logic.
2019-05-19 16:03:29 -03:00
4f6e252805
Fix T54686: objects don't occlude each other for edit-mesh select (part 2)
...
The previous fix 8a6414ed46 , resolved selection picking but didn't
work for box/circle/lasso select.
- Add ED_select_buffer_utils.h for general select-buffer operations
unrelated to edit-mesh.
- Circle select still needs to cache select-id's for each update.
2019-05-18 23:58:46 +10:00
eddda5194c
Cleanup: remove unused argument
2019-05-18 23:55:58 +10:00
02319549c3
Fix T64759: Pick select selects an incorrect face in edit mode.
...
Bug introduced in T64759.
2019-05-17 13:02:57 -03:00
d7628d4b7f
Mesh Select: use select context instead of static structs
...
This patch does not bring any functional change, but it does expose
some utilities that can be very useful to correct occlusion and
performance problems of Circle Select and similar.
Creating a selection context still makes it easier to track issues.
2019-05-17 15:02:19 +10:00
b019d8b2fe
Fix edit-mesh face-dot drawing check
...
Since 8a6414ed46 the old logic no longer applies.
2019-05-16 21:17:10 +10:00
f30921fc68
Fix T64687: Loop select work only with edges
...
Regression in recent commit 8a6414ed46
2019-05-16 20:29:05 +10:00
c9c23a3e44
RNA: add 3D cursor matrix attribute
...
Avoids having to check rotation modes to get the orientation.
2019-05-16 13:50:00 +10:00
4a766732e6
Fix unreported: Presselection cycle not working in multiple meshes editing.
2019-05-15 23:19:59 -03:00
e8ed78c884
ClangFormat: remove FAKE_SELECT_MODE_BEGIN from ForEachMacros
...
This isn't used for looping.
2019-05-16 09:40:15 +10:00
8a6414ed46
Fix T54686: objects don't occlude each other for edit-mesh select
2019-05-16 09:36:15 +10:00
5cd6ffad09
Fix T64041: Vertex Sharp not working.
...
Broken in rB0ac3d5f7db67 last year...
2019-05-13 11:49:58 +02:00
700c69ad08
Fix T64283: Gizmo doesn't update after click-extrude
2019-05-08 15:14:23 +10:00
f8def6db50
Cleanup: unused var, doxy syntax for math_matrix.c
2019-05-08 09:33:06 +10:00
e4669199bf
Normals menu for face strength improved.
...
Now cascading menus in Mesh > Normals set and select face
strength with explicit choices of Weak / Medium / Strong.
2019-05-07 08:45:01 -04:00
bfef3bce1a
Keymap: double click to close cut
...
Restore from 2.7x (lost when migrating to migrating keymap to Python).
2019-05-07 10:16:45 +10:00
0ddec50944
Cleanup: clang-format
2019-05-06 11:59:03 +10:00
90f8f5cb06
UI: Tooltips
...
- Add missing tooltips to Quick Effects and Subdivide Edge Ring
- Add proper tooltip to the Bevel operator
- Clearer tooltips for the extrude operators
Plus a few other tweaks
Suggested by users on Devtalk.
2019-05-05 21:36:12 +02:00
a914765221
UI: rename 'Remove Doubles' to 'Merge by Distance'
...
Also add into the "Merge" menu.
2019-05-02 21:57:24 +10:00
George Vogiatzis
df712d74a2
UI: improve readability of Normals menu in edit mode
...
Also rename operators to match names in the menu.
Differential Revision: https://developer.blender.org/D4659
2019-05-01 17:17:22 +02:00
909665a0d4
ClangFormat: run with ReflowComments on source/
...
Prepare for enabling ReflowComments.
2019-05-01 11:13:14 +10:00
e83d4d9637
UI: reorganize proportional editing options
...
- Move connected & projected into individual toggles.
- Top-level proportional editing button now only toggles.
- Use popover for proportional edit-mode falloff and options.
Note that it's no longer possible to toggle connected via key bindings,
although this could be supported again if it's needed.
Resolves T58081
2019-04-30 14:48:39 +10:00
c7767f1bcf
DRW: Improve edit mode selection time when using auto-smooth
...
Unfortunately it does not concern paint mode.
Related to T63946
2019-04-29 18:51:07 +02:00
c7f67d60fb
Cleanup: comments (long lines) in editors
2019-04-29 19:29:41 +10:00
2753959ed7
Cleanup: sort CMake include paths
2019-04-24 14:41:12 +10:00
Dalai Felinto
0e4e1d257c
Rename: Separate: By loose parts > By Loose Parts
2019-04-22 10:10:19 -03:00
620b960d3d
Cleanup: style, use braces for editors
2019-04-22 19:48:16 +10:00
0ac990d088
Cleanup: comments (long lines) in editors
2019-04-22 06:30:04 +10:00
2fb9c8ef12
Cleanup: add missing macros to clang-format
2019-04-21 04:40:16 +10:00
333cdbb410
Cleanup: comment blocks
2019-04-18 07:59:28 +02:00
c3a11a5671
Fix T63247: edbm_rip_invoke__edge rips unselected verts on mesh borders
...
Ripping edges would in some cases rip verts on unselected edges. This is now fixed so that we only rip verts from the actually selected edges.
Reviewed By: Brecht
Differential Revision: http://developer.blender.org/D4646
2019-04-17 12:33:33 +02:00
41d4a19865
ClangFormat: format '#if 0' code in source/
2019-04-17 08:24:14 +02:00
e12c08e8d1
ClangFormat: apply to source, most of intern
...
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-04-17 06:21:24 +02:00