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
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
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.
2019-01-06Cleanup: add trailing commas to structsCampbell Barton
Needed for clang formatting to workaround bug/limit, see: T53211
2018-12-14Cleanup: naming (mean -> median) see T47811Campbell Barton
2018-09-02Cleanup: comment blocksCampbell Barton
2018-06-04Cleanup: strip trailing space in bmesh moduleCampbell Barton
2018-01-10Task scheduler: Use const qualifier in callbacks for parallel rangeSergey Sharybin
2018-01-10Task scheduler: Use restrict pointer qualifierSergey Sharybin
Those pointers are never to be aliased, so let's be explicit about this and hope compiler does save some CPU ticks.
2018-01-09Task scheduler: Use single parallel range function with more flexible functionSergey Sharybin
Now all the fine-tuning is happening using parallel range settings structure, which avoid passing long lists of arguments, allows extend fine-tuning further, avoid having lots of various functions which basically does the same thing.
2018-01-09Task scheduler: Get rid of extended version of parallel range callbackSergey Sharybin
Wrap all arguments into TLS type of argument. Avoids some branching and also makes it easier to extend things in the future.
2017-11-26Removing OMP: bmesh_interp.cBastien Montagne
Performances tests on this one are quite surprising actually... Parallelized loop itself is at least 10 times quicker with new BLI_task code than it was with OMP. And subdividing e.g. a heavy mesh with 3 levels of multires (whole process) takes 8 seconds with new code, while 10 seconds with OMP one. And cherry on top, BLI_task code only uses about 50% of CPU load, while OMP one was at nearly 100%! In fact, I suspect OMP code was not properly declaring outside vars, generating a lot of uneeded locks. Also, raised the minimum level of subdiv to enable parallelization, tests here showed that we only start to get significant gain with subdiv levels of 4, below single threaded one is quicker.
2017-10-24Fix T53143: Knife Crash after Grid FillCampbell Barton
BM_ELEM_INTERNAL_TAG flag wasn't ensured to be cleared.
2017-01-11Add mid_v3_v3_array function and remove redundant functionsLuca Rood
Other than implementing a `mid_v3_v3_array` function, this removes `cent_tri_v3` and `cent_quad_v3` in favor of `mid_v3_v3v3v3` and `mid_v3_v3v3v3v3` respectively. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D2459
2016-03-05Cleanup: quiet -Wcomma, cast to void where neededCampbell Barton
2015-11-04Add missing check for multires interpolationCampbell Barton
2015-11-03Cleanup: de-duplicate quad_coord & resolve_quad_uv_v2Campbell Barton
2015-11-03Edge/Vert slide: improve multires interpolationCampbell Barton
Need to re-interpolate the entire face, not just the connected loop. Also add BM_face_interp_multires()
2015-11-03BMesh: add BM_loop_interp_multires_ex which takes cached varsCampbell Barton
Avoid recalculating face centers (for each loop) when interpolating multires.
2015-07-01Cleanup: use cross_v2v2 functionCampbell Barton
2015-05-05Math Lib: rename fill_*, to copy_*Campbell Barton
matching convention for fixed length api, eg: copy_v3_fl
2015-04-28Cleanup: const correctnessCampbell Barton
2015-04-25Cleanup: use 8 space indent for multi-line argsCampbell Barton
2015-02-23Fix mismatch (missing 'const' to mactch funcs declarations).Bastien Montagne
Was breaking windows compile, reported by bdancer over IRC, thanks. Also, quite some annoying 'unused vars' warnings (debug-only vars).
2015-02-23CustomData: const correctnessCampbell Barton
2015-02-23Edge/Vert Slide: avoid redundant loop angle callsCampbell Barton
No need to calculate loop angle for each layer
2015-02-23Error in last commitCampbell Barton
Accidentally left in malloc/free
2015-02-23Fix error in recent vert/edge-slide commitsCampbell Barton
`CustomData_bmesh_interp_n` was expecting the 'dest' arg not to have its offset applied. This was a bit confusing since the source args have it applied, and in some cases we only have the destination with the offset.
2015-02-23CustomData: const correctness for interp()Campbell Barton
2015-02-16Vert/Edge Slide: better UV interpolationCampbell Barton
Ignore faces which the sliding vert is outside of.
2015-02-13BMesh: avoid ugly macro for loop interpolationCampbell Barton
Compiler optimizes to practically the same output
2015-02-11UV Island support for vertex & edge slideCampbell Barton
This ensures slide with `Correct UVs` enabled, keeps UV's (any loop custom-data) contiguous. Adds 2 key functions `BM_vert_loop_groups_data_layer_create` and `BM_vert_loop_groups_data_layer_merge` They work by collecting matching loop custom-data around the vertices loop-fan, and merging the custom-data after edits are made. Thanks to @mont29 for review!
2014-09-24Custom Data API: redundant pointer-to-pointer argCampbell Barton
2014-07-12Code Cleanup: use constCampbell Barton
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-27Code cleanup: const args and arraysCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (bmesh)Campbell Barton
2014-04-16Math Lib: optimize axis_dominant_v3_to_m3, approx 6x speedupCampbell Barton
build the matrix directly rather then calculating with axis/angle also remove unused function calc_poly_plane
2014-03-28BMesh: optimize quad_coord, avoid duplicate sqrt callsCampbell Barton
2014-02-05Code cleanup: use bool for static methodsCampbell Barton
2014-01-12Style Cleanup: whitespaceCampbell Barton
2013-07-29add asserts to ensure face normal is up to date.Campbell Barton
2013-07-28move alloca define into its own header since its not related to BLI_arrayCampbell Barton
2013-07-11fix [#36100] bevel lost selectionCampbell Barton
interpolating loop was copying face attributes including selection, checked all users of this function and its safe to remove the call (which is bad to begin with).
2013-07-11bm_loop_interp_mdisps was doing multiple lookups in the same pointer in a ↵Campbell Barton
nested loop. only need one, also avoid multiple layer lookups with mdisp calculation/smoothing
2013-06-13code cleanup: also fix crash in GPU_state_print(). and confine to debug mode ↵Campbell Barton
builds.
2013-06-11Use OpenMP threads in bm_loop_interp_mdispsSergey Sharybin
Gives approx 2x speedup on my laptop on such operations as mesh subdivision in edit mode. Desktops with fancier CPUs could benefit even more. Thanks Campbell for review!
2013-05-08minor speedup for bmesh - add CustomData_bmesh_free_block_data(), useCampbell Barton
when the block would be immediately allocated again.
2013-04-30fix [#35150] Crash when bmesh operation called from within a Panel draw()Campbell Barton
accessing a bmesh from python would reallocate all customdata layers. add an assert to BM_data_layer_free(), when its called unnecessarily since its reallocating all layers.
2013-04-11interpolate verts as well as loops for inset.Campbell Barton
- add vertex option to BM_face_interp_from_face, also expose via python.
2013-04-08fix for fix: re-activating buttons to fix [#33466], meant the icon didn't ↵Campbell Barton
get refreshed immediately.