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-15code cleanup: define sizes of vectors for function args and use C style commentsCampbell Barton
2012-06-06style cleanup: (indentation)Campbell Barton
2012-04-29style cleanup: whitespace / commasCampbell Barton
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-04-16Fix #30720: Creating Navmesh crashes blenderSergey Sharybin
In fact there were several issues fixed (all of them regressions since bmesh merge): - Creating navmesh crashed because creating new faces for mesh was trying to set default values for all customdata layers in this face. This requires memory pool created for this datablock. Usually this pool is creating on creating datablock if there're some elements to be stored in this block. In cases of regular primitive creating it wasn't an issue because they doesn't create customdata layers, they only creates geometry. Navigation mesh creates geometry and customdata layers (CD_RECAST layer) which used to confuse a bit custom data functions. Solved by ensuring there's memory pool created for polygons datablock after adding new custom data layer. Most probably it's better to be resolved on CD level (like smarter track on changed amount of stored data and so) but prefer not to make such global changes so close to the release. - Toggling edit mode lead to loosing recast datalayer. Solved by adding recast layer to bmesh mask so it'll be copied to/from edit mesh. - Some part of code assumed raycast layer is in face datablock, some that it's in polygon datablock. Made it to be in polygons datablock. Kind of temporary solution to make navmesh working, probably it'll fail if one will want to edit navmesh by hand after it was generated. Proper way would be to ensure the whole navmesh things are using ngons.
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-20rename define BM_INLINE -> BLI_INLINE to avoid confusion with bmesh defines.Campbell Barton
2012-03-06style cleanup, brackets in else/if, some indentation.Campbell Barton
2012-02-03svn merge ^/trunk/blender -r43830:43864Campbell Barton
2012-02-02Fix #29381: Navmeshs frees not guarded allocated memory and leakedSergey Sharybin
There were two issues discovered: - Triangles mapping didn't free in buildNavMeshData if there's no recast data for an object - KX_NavMeshObject used not-guarded allocation for polygons storage, but used guarded freeing stuff to free used memory, producing error messages in the console and leading to memory leak. Wasn't actually harmful for users -- there was no memory corruptions and error happens only when object was set up in a way when navmesh can't work in theory.
2011-11-30More DM func renames, fixing some build breaks, renaming more stuff, also ↵Andrew Wiggin
seems like it might be fixing the recent CDDM_copy corruption/leak bug
2011-11-08bmesh: fixed merge issues with navmesh (though I've not tested if it works yet).Joseph Eagar
also fixed a small crasher in bridge.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-10header cleanup (no functional changes)Campbell Barton
2011-09-30Recast: upgrade library.Benoit Bolsee
- Upgrade Recast library to latest portable version - Implement recast_qsort based on FreeBSD qsort.c to have portable thread safe quick sort for use in conversion routine. - Better default value for the Build Navigation Mesh operator
2011-09-20Another set of fixes for MSVCSergey Sharybin
2011-09-20Fix for recent commit:Sergey Sharybin
- Some declarations after statement left. - Do not use static inline functions in MOD_navmesh. It produces errors with msvc and not sure it's actually helps -- optimizer should make it inlined itself.
2011-09-20Get rid of c++ in blenkernel and modifiersSergey Sharybin
Also use guarded allocations for navmesh stuff.