Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-12-17Added GPL header to sconscripts!Bastien Montagne
Also changed shebang to '#!/usr/bin/env python', this is more portable across unixes...
2012-12-17code cleanup: use 'const float *' when getting the 3d cursor and not editing it.Campbell Barton
2012-12-17Fix knife cut-through bug #33571.Howard Trickey
The code to connect across a face didn't stop after it found one.
2012-12-16fix for bevel using the wrong property name when shift was held.Campbell Barton
2012-12-13fix another crash from missing update in Auto-Merge from r52911Campbell Barton
2012-12-12Fix error compiling in debug build, should test #ifndef NDEBUG instead ofBrecht Van Lommel
2012-12-12remove context argument from EDBM_update_generic()Campbell Barton
2012-12-12fix for crash in own commit r52911Campbell Barton
2012-12-12fix for EDBM_index_arrays_ensure not working as intended.Campbell Barton
2012-12-12add threshold for bmesh & openmp so its not used with low poly meshes, ↵Campbell Barton
BM_OMP_LIMIT may need tweaking.
2012-12-12make EDBM_index_arrays's stay in memory, blender was allocating an array and ↵Campbell Barton
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.
2012-12-12use htype flags as arguments to EDBM_index_arrays_init(), no functional changes.Campbell Barton
2012-12-12use openmp to thread some common bmesh operationsCampbell Barton
- 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.
2012-12-11replace BLI_array_fixedstack_declare with() new macro BLI_array_alloca() ↵Campbell Barton
which uses stack memory always and doesn't need to be freed explicitly.
2012-12-11define the size of matrix args for both rows/cols.Campbell Barton
2012-12-11was using max short on a float in EDBM_face_find_nearest()Campbell Barton
2012-12-11code cleanup: spelling labda -> lambdaCampbell Barton
2012-12-10fix for knife when clipping was enabled, The knife would not snap to ↵Campbell Barton
edges/verts outside the clip area but the geometry would still get cut
2012-12-10fix for knife tool when the mouse was moved outside the clipped area the ↵Campbell Barton
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.
2012-12-10knife tool was incorrectly moving points into worldspace, then checking ↵Campbell Barton
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.
2012-12-10de-duplicate labda_PdistVL2Dfl() & line_point_factor_v2()Campbell Barton
2012-12-10some of the modal knife key bindings didn't cause a refresh until you moved ↵Campbell Barton
the mouse. - snap, angle snap, midpoint snap.
2012-12-09fix [#33442] UnitsCampbell Barton
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.
2012-12-03fix [#33400] Knife ortho floating point errorCampbell Barton
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.
2012-12-03fix own mistake with recent commit to skip calculating tessface. If you were ↵Campbell Barton
already in editmode the tessfaces wouldn't get recalculated. also minor edits to bmesh rst.
2012-11-30fix for various asserts running operator tests - not likely any of these ↵Campbell Barton
would cause real user bugs though.
2012-11-29Fix navmesh after recent bmsh api changes.Sergey Sharybin
2012-11-29fix [#33029] Applying modifier leaks memoryCampbell Barton
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.
2012-11-29skip recalculating tessface when adding objects if 'EnterEdit-mode' is disabled.Campbell Barton
2012-11-28typo's and some style cleanup, also added asserts into BLI_vsnprintf and ↵Campbell Barton
BLI_sprintfN when invalid args are given.
2012-11-28use radians for 'spin' bmesh operator (since the rest of the py api uses ↵Campbell Barton
radians). also rename BMO_OP_SLOT_SUBTYPE_MAP_FLOAT -> BMO_OP_SLOT_SUBTYPE_MAP_FLT for consistency.
2012-11-28bmesh operator naming - use clearer names for args eg: (mat -> matrix, ↵Campbell Barton
use_singleedge -> use_single_edge) also remove duplicate docs for operator arg formatting.
2012-11-27new bevel was still referring to old property name (holding shift wasnt ↵Campbell Barton
working while beveling).
2012-11-27use clearer names for 'single' bmesh operator args & add '%e' to ↵Campbell Barton
BMO_op_vinitf comments.
2012-11-27py/bmesh api - add support for single item buffers (odd feature but used ↵Campbell Barton
quite a bit with bmesh operators). also add utility functions BMO_slot_buffer_from_single(), BMO_slot_buffer_get_single()
2012-11-27fix for asserts added in own recent commit with more strict type-checkingCampbell Barton
- 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.
2012-11-27bmesh/py operator api:Campbell Barton
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.
2012-11-26Fix #33316: mesh edge short path select was wrong on large/small objects.Brecht Van Lommel
2012-11-26Fix #33310: unnecessary redraw of outliner when editing materials and textures.Brecht Van Lommel
2012-11-26Fix #33285: loop cut is not supposed to cut through triangles/ngons, but itBrecht Van Lommel
still happened when the loop would go all the way around the mesh with just one triangle/ngon inbetween to close the loop.
2012-11-26Bevel: allow page up / page down shortcuts for segments in addition to ↵Brecht Van Lommel
mousewheel.
2012-11-26fix for uninitialized memory use with numeric input:Campbell Barton
bevel/inset/marker-move would use uninitialized memory when used as modal operators and pressing backspace after entering values.
2012-11-26use more rigid type checking for bmesh slot subtypes.Campbell Barton
2012-11-24use a search popup for 'blend from shape' tool, suggested by Juan Pablo.Campbell Barton
use standard operator panel, since the popup was too easy to cancel by accident, especially with a popup search menu.
2012-11-23Fix #33277: vertex merge would merge UVs by default, disabled that now by againBrecht Van Lommel
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.
2012-11-23Fix bevel crash in OSX debug build.Howard Trickey
Code to select from output slot moved before EDBM_op_finish, which frees slot buffers.
2012-11-21Change edge loop select and edge ring select to be consistent withNathan Vegdahl
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.
2012-11-21fix for missing bmesh operator flags when selecting linked (caused by own ↵Campbell Barton
recent commits)
2012-11-20bmesh operator api:Campbell Barton
avoid per vert/edge/face string lookups in BMO_slot_map_* functions --- used in array modifier, subdivide, remove doubles and other tools.
2012-11-20Fix for add plane operator broken since recent code cleanupSergey Sharybin