abcaec0edc
code cleanup: replace magic numbers in scanfill with defines, also use some vector functions where possible
2012-04-18 14:30:57 +00:00
daf98a7184
Attempted fix for #30985 : knife draw messing up display after confirming. I couldn't
...
redo the problem, but the depth test toggle here should be conditional as in other
3d view drawing code.
2012-04-17 17:25:10 +00:00
8ae502ae99
Fix #30977 : error loading modal keymaps from keyconfiguration presets.
2012-04-17 15:40:04 +00:00
0635f8101c
make scanfill threadsafe (wasnt threadsafe before BMesh merge but before the merge it didn't need to be) - now rendering uses its better if its threadsafe.
2012-04-16 06:48:57 +00:00
79693e4543
code cleanup: avoid confusion with incorrectly named argument to BLI_edgefill(), was 'mat_nr', now 'do_quad_tri_speedup'
2012-04-16 05:03:04 +00:00
46146ecd08
Tweak knife/unwrap tesselation code a bit, it uses a random offset, now also
...
seed the random number generator to at least make these operator repeatable.
I don't know why it is using random numbers at all, we should really not be
doing this in my opinion, but I don't understand why it's being done so won't
remove it.
2012-04-15 10:06:36 +00:00
25492d1e4c
Fix bug 30866: prevent 2-sided polygons from knife cuts.
...
Blender bmesh code assumes there aren't any of those, so crashed
when trying to delete a vertex involved in one.
2012-04-09 12:50:43 +00:00
d5953568c8
use 'const float[3]' for derived mesh callback args.
2012-04-09 07:06:06 +00:00
eeb9977bfd
fix crash with stack memory usage for the knife tool.
...
knife cutting ~25000 faces would crash with 8mb stack set.
fix by removing generic iterators in functions which do recursive calls.
2012-04-06 06:17:52 +00:00
09f29c0b70
style/name cleanup: have EDBM_* functions match our style guide and also match BM_ function naming conventions
2012-03-27 04:46:52 +00:00
ca05219f3e
fix [ #30651 ] bpy.ops.object.mode_set(...) editmode removes faces.
...
problem was that BMesh had tessellation call when undo pushes were called.
if python called an operator with no undo push, tessfaces would not be created.
fix this by making it the responsibility of each editmesh operator to re-tessellate, as it is with notifiers and depsgraph.
added EDBM_update_generic() function to add notifier, tag for depsgraph update and optionally re-tessellate.
2012-03-27 00:01:35 +00:00
48f0444760
style cleanup: editors/mesh - mostly whitespace around operators
2012-03-26 02:56:48 +00:00
2f348d8b5d
style cleanup: mainly for mesh code, also some WM function use.
2012-03-24 02:51:46 +00:00
0c898514f0
code cleanup: bmesh_ source files in our editor dir, they are the same as other editmesh_ files.
2012-03-24 00:20:36 +00:00