Age | Commit message (Collapse) | Author |
|
Also changed shebang to '#!/usr/bin/env python', this is more portable across unixes...
|
|
|
|
The code to connect across a face didn't stop after it found one.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BM_OMP_LIMIT may need tweaking.
|
|
filling it for verts/edges/faces on every redraw.
this may introduce bugs which I didn't catch, but they are very easy to identify in a debug build which has asserts to ensure the arrays are valid before use.
in my own test drawing ~98,304 quads - this gave an overall ~16% drawing speedup.
|
|
|
|
- BM_mesh_elem_toolflags_ensure / bmo_flag_layer_alloc / bmo_flag_layer_free / bmo_flag_layer_clear
- BM_mesh_select_flush
- EDBM_index_arrays_init
notes:
- mostly use openmp `sections` to split operations on vert/edge/face since this is a fairly minor change.
- split tool flag pool in 3, this means we can allocate exact sizes needed and iterate on them in threads without alloc'ing.
|
|
which uses stack memory always and doesn't need to be freed explicitly.
|
|
|
|
|
|
|
|
edges/verts outside the clip area but the geometry would still get cut
|
|
mouse line would reset to 0/0/0
a few areas that use ED_view3d_win_to_segment_clip() didnt take into account the case where the segment was filly clipped, some callers even needed the segment not to be clipped.
- added ED_view3d_win_to_segment()
- ED_view3d_win_to_segment_clip() now returns FALSE if the segment is totally clipped, but the start/ends of the line are not zero'd as they were before.
|
|
clipping against the object space bounds.
more fixes needed here but at least correct whats there.
also ensure clipping is initialized from the object before handling modal operator events.
|
|
|
|
the mouse. - snap, angle snap, midpoint snap.
|
|
adding meshes were scaling the user input values so the distance on the button didnt relate to the scale of the object added.
Now use an invoke function that scales unset default values.
|
|
the green dot under the mouse would not draw under the mouse when clipping values were high (1000+) - which is common.
use a different method which doesnt give these problems.
|
|
already in editmode the tessfaces wouldn't get recalculated.
also minor edits to bmesh rst.
|
|
would cause real user bugs though.
|
|
|
|
Thanks for Sergey for finding the bug & patching, This fix works a bit differently.
Theres no need to allocate the customdata in the first place - since its written into. So add a flag for vert/edge/face/loop creation functions so they can skip customdata creation.
|
|
|
|
BLI_sprintfN when invalid args are given.
|
|
radians). also rename BMO_OP_SLOT_SUBTYPE_MAP_FLOAT -> BMO_OP_SLOT_SUBTYPE_MAP_FLT for consistency.
|
|
use_singleedge -> use_single_edge)
also remove duplicate docs for operator arg formatting.
|
|
working while beveling).
|
|
BMO_op_vinitf comments.
|
|
quite a bit with bmesh operators).
also add utility functions BMO_slot_buffer_from_single(), BMO_slot_buffer_get_single()
|
|
- BMO_slot_copy now only copies compatible elements.
other minor changes
- don't use text.format(...), convention for UI scripts is C style string formatting.
- rename bmo_edgenet_prepare --> bmo_edgenet_prepare_exec
- float/double warning in bevel.
|
|
add type checking for element buffers, there was nothing stopping python from passing any element type into an argument when in some cases only verts/edges/faces were expected.
now operator args define which types they support.
|
|
|
|
|
|
still happened when the loop would go all the way around the mesh with just one
triangle/ngon inbetween to close the loop.
|
|
mousewheel.
|
|
bevel/inset/marker-move would use uninitialized memory when used as modal operators and pressing backspace after entering values.
|
|
|
|
use standard operator panel, since the popup was too easy to cancel by accident, especially with a popup search menu.
|
|
like it did before bmesh.
Neither method is perfect, ideally it should do smart detection of UV islands
but without that it's better to disable because it is more difficult to recover
from incorrectly merged UVs than ones that were not merged.
|
|
Code to select from output slot moved before
EDBM_op_finish, which frees slot buffers.
|
|
other selection operators. Instead of having only a single "extend"
option which causes the selection to toggle, there are now
three options:
- extend: adds to selection
- deselect: removes from selection
- toggle: toggles the selection
The default keymap is adjusted to have identical behavior as before,
using these new options, so end-users shouldn't experience any
difference.
|
|
recent commits)
|
|
avoid per vert/edge/face string lookups in BMO_slot_map_* functions --- used in array modifier, subdivide, remove doubles and other tools.
|
|
|