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-10-23rename api functions...Campbell Barton
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii
2012-10-20Add option to set object origin to the center of massSergej Reich
This uses the weighted average of polygon centroids based on area It work well in most cases but will be slightly wrong when polygons have many vertices.
2012-10-12quiet some -Wshadow warningsCampbell Barton
2012-10-11fix [#32829] Crash when making linked Mesh with UV Map localCampbell Barton
2012-10-02fix for crash loading durian file '08.5e_comp.blend' - external data pointer ↵Campbell Barton
for face data was NULL.
2012-09-27incorrect spelling in commentsCampbell Barton
2012-09-25small improvement to previous commit, use pre-calculated ngon normal to ↵Campbell Barton
avoid calculating twice when dupli-scale is enabled.
2012-09-25fix [#32646] Duplifaces can have wrong orientation with ngonsCampbell Barton
concave ngons could flip the dupliface, now use the faces normal when calculating the dupli-face.
2012-09-21remove sticky coordinates from blender, this was missing from the UI since 2.49.Campbell Barton
TODO - drop support from the renderer still.
2012-09-18code cleanup: typos and set exceptional cases of zero length normals as ↵Campbell Barton
UNLIKELY().
2012-08-25fix for type mismatch with SWAP() macro.Campbell Barton
2012-08-18Fix for some typos/spelling mistakesJoshua Leung
2012-08-17fix own error in recent smoothview cleanup, also correct some cross ↵Campbell Barton
references in bmesh docs.
2012-07-31support for curve orco uv's as UV's in cycles.Campbell Barton
ideally these would be used as generated coordinates, but this is tricly because cycles calculates its own orco's and doesnt know about curve settings.
2012-07-30Fix: "void" function returning value.Daniel Genrich
2012-07-14Fix #31021: Render settings are not taken into account for curvesSergey Sharybin
Refactored code a bit to make naming a bit more clear and added a function to create mesh from given display list rather than from object's displist. Tested using plain curves (which doesn't imply using derived meshes) and curves with constructive modifiers (which are using derived meshed).
2012-07-04Last spell checking (for now).Bastien Montagne
Only mysterious courant from bpy.types.ParticleSettings.courant_target reamins...
2012-07-03fix for memory leak in BKE_mesh_ensure_navmesh(), it would add 2 navmesh ↵Campbell Barton
layers, once referencing the other.
2012-06-17style cleanup:Campbell Barton
also fix for building ghost test and fix double free in one of the tests
2012-06-07Fix #31725: UV map order is ignored when opening in 2.6+ versionsSergey Sharybin
Issue was caused by do_versions being used pdata as reference for active/render/ stencil/clone layer indices instead of fdata. Added some utility functions used only by do_versions to be sure this indices are set from fdata for pre-bmesh files.
2012-06-06style cleanup: (indentation)Campbell Barton
2012-06-04Fix #31172: applying boolean removes uv mapsSergey Sharybin
The issue was caused by CDDM_tessfaces_to_faces not dealing with CD layers. There was already function BKE_mesh_convert_mfaces_to_mpolys which converted mfaces to mpolys with converting all CD layers. Made it a bit more general so it might work with given arrays of faces/polys and re-used it from CDDM module. Checked with UV and sculpt data from Blender 2.61 and it loaded nice, so hopefully there's no regressions in loading older files.
2012-05-27style cleanupCampbell Barton
2012-05-22Add Mesh equivalent to BM_edge_other_vert().Nicholas Bishop
/* Return the index of the edge vert that is not equal to 'v'. If * neither edge vertex is equal to 'v', returns -1. */ int BKE_mesh_edge_other_vert(const struct MEdge *e, int v);
2012-05-21code cleanup:Campbell Barton
- remove duplicate includes - blender builds with -Werror in C++ for fluids/smoke
2012-05-20code cleanup:Campbell Barton
- style - multi-line ifs move braces onto new lines. - iterators - convert some to macros, other split up and move brace.
2012-05-17style cleanup: line length and ensure some macros error when not ending with ';'Campbell Barton
2012-05-15Update create_vert_edge_map() to match create_vert_poly_map().Nicholas Bishop
2012-05-13code cleanup:Campbell Barton
- use bmesh iterator macros in more places - rename scanfill variables (were using same names as mesh faces/verts which was confusing)
2012-05-13code cleanup: use vector math function minmax_v3v3_v3() and other minor ↵Campbell Barton
vector function edits.
2012-05-13fix for own bad logic with polygon normal calculation, was reading one past ↵Campbell Barton
the loop array (reported as bug #31431).
2012-05-09Cycles: fix issues with texture coordinates and object scale. Auto textureBrecht Van Lommel
space size and location were outdated often, and already computed on demand by blender internal, now do that through RNA as well.
2012-05-08optimize ngon angle calculation in solidify modifier (was doing prev/next ↵Campbell Barton
vector subtract and normalize for every vertex). now store the previous normalized vector for re-use. also add BKE_mesh_poly_calc_angles() which is mostly a reference for now.
2012-05-06style cleanup: BKE_*.c files which deal with library functionsCampbell Barton
2012-05-06code cleanup: naming - BKE_mesh_*Campbell Barton
2012-05-05code cleanup: naming - pose/armature/image Campbell Barton
also use ..._find_name(..., name) rather then ..._find_named(..., name) --- both were used.
2012-05-05code cleanup: function naming, use BKE_*type* prefix.Campbell Barton
2012-05-05code cleanup: function naming for BLI functions.Campbell Barton
2012-05-04code cleanup: use much simpler (and likely faster) polygon normal ↵Campbell Barton
calculation in object mode.
2012-05-04code cleanup: double promotion & some style cleanupCampbell Barton
2012-05-03Fix #31250, #31248: wrong vertex normals after transform apply, collada import,Brecht Van Lommel
sculpt shape key switch. All cases that called this function needed parameter only_face_normals set to false, so changed it now. Also fixed wrong user count for imported mesh from collada and simplified previous fix for tesselated faces to polygons conversion.
2012-04-28Code and style cleanup in own modules in BKE and also mball moduleSergey Sharybin
- Make sure functions are named in way BKE_<object>_<action> (same way as RNA callbacks) - Make functions which are used by mball.c only static and remove their prototypes from public header file. Further cleanup is coming.
2012-04-28style cleanup: format 'for' loop macros the same as for loops, some renaming ↵Campbell Barton
to BLI_array macros.
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-04-26fix for bevel modifier creating invalid geometry - simply tell ↵Campbell Barton
BM_face_split() to check for doubles.
2012-04-26fix memory leak in validating mesh and remove unneeded knife operator ↵Campbell Barton
settings store.
2012-04-25code cleanup: typos and set gcc attributes for string formatting.Campbell Barton
2012-04-23clear the FGON edge flag when updating old meshes to polygons. (we may wan't ↵Campbell Barton
to reuse the flag later)
2012-04-22style cleanup: commentsCampbell Barton
2012-04-22- fix memory leak in mesh_strip_loose_polysloops(), occurred during 3ds import.Campbell Barton
- updating normals in py/api's mesh.transform() wasn't working and gave annoying print, disable this, script authors can call calc_normals explicitly if they need.