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
2013-10-20Code cleanup: de-duplicate implementation of get_texture_valueSergey Sharybin
Expect to be no functional changes :)
2013-09-20correct include guards and add checks in check_style_c.py for them.Campbell Barton
2013-09-18UVProject modifier was still requiring old tesselated UV data instead of new ↵Bastien Montagne
poly/loop ones.
2013-09-15replace BLI_edgehash_insert with BLI_edgehash_reinsert for explode operator, ↵Campbell Barton
was inserting the same edges more then once.
2013-09-12more localized fix for [#36299], only changes behavior for subsurf with orco ↵Campbell Barton
in editmode
2013-09-12code cleanup: headers - doxy comments.Campbell Barton
2013-09-09correct error in recent changes for building with openmp.Campbell Barton
rename DM_OMP_LIMIT to BKE_MESH_OMP_LIMIT and set to 0 when in debug mode, same for BM_OMP_LIMIT.
2013-09-04replace sqrt(dot()) with length functions.Campbell Barton
2013-09-04move timeit macros into their own include, since they are only used for ↵Campbell Barton
testing and unrelated to PIL_time.h typical use.
2013-09-02bmesh: internal api change, remove BMOElemMapping, its not needed since the ↵Campbell Barton
values can be stored in the ghash directly. saves 24 bytes per element (per vertex/edge/face on a 64bit system), for bmesh operators.
2013-08-28array modifier was adding vertices to the 'targetmap' multiple times.Campbell Barton
this is supported by weldop but would prefer not to allow multiple keys in the map.
2013-08-26Remove unused function NewBooleanMeshSergey Sharybin
2013-08-24edge hash: take an arg for the guarded-malloc string (as ghash does)Campbell Barton
2013-08-23move bmesh tools into their own include,Campbell Barton
changes to tool args would rebuild far too many files and these are mainly by modifiers outside of bmesh.
2013-08-21bmesh api cleanup, face creation args now accept an example face (as with ↵Campbell Barton
vertex and edge), also replace BM_face_create_quad_tri_v with BM_face_create_verts
2013-08-21use BM_CREATE_NOP arg rather then zero, with pointer and bool args in either ↵Campbell Barton
side in some cases it gets a bit confusing. also correct edge-rotate where bool->flag conversion worked by accident.
2013-08-21fix own regression [#36443] Vertex to UV index doesn't match with 2.68aCampbell Barton
add BM_face_create_verts wrapper for BM_face_create which creates its own edge array.
2013-08-19Make lattice deform safe for threadingSergey Sharybin
Lattice deformation used to store some runtime data inside of lattice datablock itself. It's something which is REALLY bad. Ideally DNA shouldn't contain and runtime data. For now solved it in a way that initialization of lattice deform will create a structure which contains lattice object for which deformation is calculating and that runtime data which used to be stored in lattice datablock itself. It works really fine for mesh deform modifier, but there's still runtime data stored in particle system DNA, It didn't look something easy to be solved, so leaving this as-is for now. -- svn merge -r58277:58278 -r58795:58796 ^/branches/soc-2013-depsgraph_mt
2013-08-19Move bevel list and path from Curve to Object datablockSergey Sharybin
I know this is not so much nice to have this guys hanging around in a general Object datablock and ideally they better be wrapped around into a structure like DerivedMesh or something like this. But this is pure runtime only stuff and we could re-wrap them around later. Main purpose of this is making curves more thread safe, so no separate threads will ever start freeing the same path or the same bevel list. It also makes sense because path and bevel shall include deformation coming from modifiers which are applying on pre-tesselation point and different objects could have different set of modifiers. This used to be really confusing in the past and now data which depends on object is stored in an object, making things clear for understanding even. This doesn't make curve code fully thread-safe due to pre-tesselation modifiers still modifies actual nurbs and lock is still needed in makeDispListsCurveTypes, but this change makes usage of paths safe for threading. Once modifiers will stop modifying actual nurbs, curves will be fully safe for threading. Actually, this commit also contains wrapping runtime curve members into own structure This allows easier assignment on file loading, keeps curve- specific runtime data grouped and saves couple of bytes in Object for non-curve types. -- svn merge -r57938:57939 ^/branches/soc-2013-depsgraph_mt svn merge -r57957:57958^/branches/soc-2013-depsgraph_mt
2013-08-17style cleanupCampbell Barton
2013-08-13fix for bug in rip tool, isolated verts would remain selected after ripping.Campbell Barton
2013-08-13fix own regression, rip tool wasn't handling selection.Campbell Barton
2013-08-11use 'greater/less then or equal to' operators rather then adding 1.Campbell Barton
2013-08-09Fix #36417: vertex weight mix modifier crash with texture mask and subsurf ↵Brecht Van Lommel
modifier preceding it, was writing past end of array.
2013-08-07code cleanup: more confusion with 0/NULL/falseCampbell Barton
2013-08-07code cleanup: more zero as NULL pointers.Campbell Barton
2013-08-06fix for using uninitialized boolean vars for mask select more/lessCampbell Barton
2013-08-04code cleanup: replace strcpy with BLI_strncpy for fixed size strings, and ↵Campbell Barton
correct some harmless but incorrect sizeof() use
2013-08-04code cleanup: replace strncpy -> BLI_strncpy, skip first 2 chars when making ↵Campbell Barton
a hash from the object name.
2013-08-01code cleanup: remove unused functionsCampbell Barton
- IsectLLPt2Df - isect_point_quad_uv_v2 - isect_point_face_uv_v2 These are obsoleted by resolve_tri_uv, resolve_quad_uv also add attributes for unused function results for some math functions.
2013-07-28move alloca define into its own header since its not related to BLI_arrayCampbell Barton
2013-07-27code cleanup: remove unused codeCampbell Barton
2013-07-26use math functions for copying matrix/vector types, also cast const pointers ↵Campbell Barton
for freeing (clang error's out otherwise)
2013-07-23remove use_relative option from simple deform,Campbell Barton
all modifiers should be using object transformations relatively.
2013-07-23code cleanup: remove deprecated bevel code (unused since 2.64)Campbell Barton
2013-07-23replave isfinite with finite for msvcCampbell Barton
2013-07-23fix/workaround for crash in ocean modifier when size is zero (causes invalid ↵Campbell Barton
array index/lookups).
2013-07-23fix [#36247] Modifier Ocean (Geometry in Displace)- Subdivision SurfaceCampbell Barton
regression in 2.68
2013-07-19optimization: avoid memcpy with shake key vertex array.Campbell Barton
2013-07-16fix own regression [#36154] Simple deform modifier doesn't recalculate normalsCampbell Barton
get_cddm and get_dm are called within modifiers so they wont ensure normals are valid, added an arg to optionally ensure valid normals.
2013-07-15Fix #36058: Displace Modifier errors using a baked Image and displace baking ↵Sergey Sharybin
inconsistency between 2.67/2.68RC and previous versions This was in fact really nasty bug, caused by multitex_nodes function using global variable R (which is a copy of current renderer). this variable is not initialized to anything meaningful for until first rendering (preview or final) happened. Since multitex_nodes might be used outside of render pipeline, made it so whether CM is on or off as an argument to functions multitex_ext_safe and multitex_ext. Now multitex_nodes() is only shall be used for stuff happening from render pipeline! Also needed to make some changes to other places, so all the usages of texture sampling knows for the fact whether CM is on or off. And one more change is related on behavior of dispalcement, wave, warp, weightvg modifiers and smoke. They'll be always using CM off since texture is used for influence, not for color. It's rather bigger patch, but it's mostly straightforward changes, which we really need to be done. Reviewed by Brecht, thanks!
2013-07-15fix for own regression, face index ranges still need checking in some places.Campbell Barton
2013-07-14fix for case where negative index was used when rendering particles with ↵Campbell Barton
UV's, also removed redundant array check.
2013-07-13remove NULL checks on fixed size arrays, also was calling ↵Campbell Barton
BLI_testextensie_glob every time in the file selector with a blank string.
2013-07-13fix bad uses of sizeof() with memory allocation.Campbell Barton
2013-06-26fix [#35858] Weight Paint: Hiding faces isnt flushing the flag to the vertices.Campbell Barton
2013-06-19fix [#35795] Edge split modifier do not show result in viewport with curves.Campbell Barton
caused by recent changes in normal calculation, however curves were not being very smart about calculating modifiers (calling unneeded re-tessellation for every modifier)
2013-06-15fix for recent changes in solidify, normals were OK but customdata for loops ↵Campbell Barton
wasnt.
2013-06-14fix for own error in recent solitify refactor (r57402), face flip check was ↵Campbell Barton
incorrect.
2013-06-12ifdef bugfix since its a little strange.Campbell Barton