9c090cecfe
ghash and edgehash api, allow newly defined hashes to take in the size of the hash as an arg (avoids resizing in simple cases when the hash is created and filled immediately).
2013-08-24 13:04:03 +00:00
754b4ab3bc
add hash function BLI_ghash_assign, BLI_edgehash_assign
...
avoids remove,insert and only hashes the key once.
2013-08-18 03:41:39 +00:00
ee2d95f850
minor api cleanup for ghash/edgehash
...
- use single inlined lookup function.
- move comments into source.
- pack iterator vars more efficiently.
2013-08-18 01:00:52 +00:00
fbb446dff6
add assert for hashes if an existing element is ever inserted into a ghash/edgehash.
...
the outliner does this intentionally, so add a flag to allow this situation optionally.
2013-08-18 00:36:04 +00:00
418011907c
remove nan copyrights from code added since blender become opensource (copy paste errors), also remove BKE_script.h
2013-07-02 10:14:59 +00:00
319036f2d5
fix [ #35026 ] Curve build modifier
2013-04-22 12:00:37 +00:00
9892736206
code cleanup: header cleanup and remove some duplicate defines.
2012-05-12 20:39:39 +00:00
2b7ca2304a
unify include guard defines, __$FILENAME__
...
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-02-17 18:59:41 +00:00
2e92b14bc6
copy BLI_edgehash changes from bmesh branch, main change is use of mempool.
2011-12-28 10:20:37 +00:00
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
e417e011d5
Code cleanup: file operations merged into single header, some function names
...
made less cryptic and changed to indicate if they work on files or directories.
2011-10-22 15:35:49 +00:00
Nathan Letwory
b97ad119b9
doxygen: add blenlib under core as module.
2011-02-18 13:58:08 +00:00
081c1205a3
correct fsf address
2010-02-12 13:34:04 +00:00
2c9e8e7593
Fix for bug #11140 : explode modifier could run out of memory quite
...
quickly because it allocated a totvert*totvert size array, now uses
edgehash instead.
2008-05-12 11:48:55 +00:00
Chris Want
5d0a207ecb
Patch from GSR that a) fixes a whole bunch of GPL/BL license
...
blocks that were previously missed; and b) greatly increase my
ohloh stats!
2008-04-16 22:40:48 +00:00
0192536102
- added iterator to edgehash
...
- updated decimator to make edges
2005-08-23 02:29:22 +00:00
af935e597f
Use new BLI_edgehash_* functions in unwrapper.
2005-08-21 21:39:44 +00:00
dd7bcb94bf
- sillyness... added drawMappedEdges for mesh
...
- revert to drawLooseEdges instead of general drawEdgesFlag
- ditched TFace edge flags, done dynamically now which also
means don't need to recalc surface on flag changes
- added BLI_edgehash, guess what it does
2005-08-21 20:48:45 +00:00