d75a66674d
code cleanup: remove deprecated defines and some struct members
2012-09-06 00:33:59 +00:00
6972e19fd5
code cleanup:
...
- replace (strcmp(vfont->name, FO_BUILTIN_NAME) == 0) with (BKE_vfont_is_builtin(vfont)).
- reduce some double promotions.
2012-08-03 22:12:57 +00:00
a99b9a5c3d
Fix #31725 : UV map order is ignored when opening in 2.6+ versions
...
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-07 09:11:16 +00:00
9dd981a440
style cleanup: block comments
2012-05-16 23:37:23 +00:00
9892736206
code cleanup: header cleanup and remove some duplicate defines.
2012-05-12 20:39:39 +00:00
1d743d11dc
bmesh - python api
...
- bm.*.layers.*.verify()
- bm.*.layers.*.is_singleton
- bm.*.layers.*.copy_from(other)
also added api functons
- BM_data_layer_copy(...)
- CustomData_layertype_is_singleton(type)
2012-04-30 18:54:14 +00:00
b7113002db
Fix bug [ #30863 ] Array Modifier Start and End Cap cause crash when the Cap Object has vertex group
...
Another crash with array caps, was caused by not making a deep enough
copy of CD field.
Also fixed the type of the 'mask' parameter, was int where it should
be 64-bit.
2012-04-09 02:14:55 +00:00
09f29c0b70
style/name cleanup: have EDBM_* functions match our style guide and also match BM_ function naming conventions
2012-03-27 04:46:52 +00:00
4f19c1a995
spelling cleanup
2012-03-18 07:38:51 +00:00
89a963fb7f
style cleanup: comment blocks
2012-03-09 18:28:30 +00:00
4f7bdc59d3
style cleanup: spelling.
...
also remove large, duplicate comments from sunsky.h
2012-03-09 00:41:09 +00:00
95670e03a0
style cleanup / comment formatting for bli/bke/bmesh
2012-03-03 20:19:11 +00:00
921a7556fb
bmesh - changes to mempool allocations
...
* double default edge allocation size (double the number of verts/faces).
* CustomData_bmesh_init_pool was using allocsize & chunksize as the same variable. Now use type specific chunk size.
* bmesh copy and editmode conversion now allocate the BMesh mempool size needed for the entire vert/edge/loop/face arrays since its known already.
2012-03-01 22:17:04 +00:00
7cc206ddca
Code Cleanup: remove non existing function declarations.
...
added some missing functions too - which are not used yep but should be there for api completeness.
* CDDM_set_mloop
* CDDM_set_mpoly
* BLI_mempool_count
2012-02-29 15:00:37 +00:00
a368e6771a
- remove some unused editmesh functions.
...
- copy & rename EditMesh stricts for use with scanfill (remove unused members)
2012-02-19 22:17:30 +00:00
48006292d8
svn merge ^/trunk/blender -r44189:44204
2012-02-17 20:56:25 +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
870aa90112
svn merge ^/trunk/blender -r43733:43751
2012-01-29 21:49:49 +00:00
82300fabb9
Minor fix for CD_TYPE_AS_MASK macro: shift operator uses the left
...
operand's type for the result, so cast 1 to CustomDataMask.
2012-01-27 08:15:30 +00:00
5d46acd59f
minor edits and correcton to assert
2011-12-28 09:14:09 +00:00
337d397d09
merge in customdata changes from BMesh - biggest change is caching the layer index values in a typemap.
2011-12-28 09:11:11 +00:00
2cd5436a81
svn merge ^/trunk/blender -r42839:42871
2011-12-25 21:31:19 +00:00
02d72b5c07
include BLO_sys_types in customdata header rather than stdint directly.
2011-12-25 21:27:23 +00:00
856208dba2
OSX/gcc-4.6, fix for typedef uin64_t
2011-12-24 08:03:43 +00:00
eb3beca8d4
replace u_int64_t with cc99's uint64_t as suggested by Nicholas Bishop.
2011-12-24 03:03:42 +00:00
ddcf56366d
change customdata mask from an 'unsigned int' to an 'u_int64_t', since BMesh branch has run out of bits
2011-12-23 20:30:23 +00:00
2457d4f5ab
svn merge ^/trunk/blender -r42680:42722
2011-12-19 10:40:48 +00:00
90ef435145
Fix a bug in CustomData_duplicate_referenced_layer(_named) functions: MEM_dupallocN does not work with complex layers like CD_MDEFORMVERT ones, so rather use copy func when available.
2011-12-19 08:26:53 +00:00
cead1e1977
added mesh_calc_normals_ex() which is mesh_calc_normals() with an option to skip recalculating the vertex normals (only calculate poly/face normals instead).
...
also removed unneeded allocation of face normals.
otherwise no functional change.
2011-12-06 22:55:41 +00:00
f07df7287e
manual sync with trunk - pulling in changes where the issues are not bmesh spesific
...
- some merges added lines in multiple times
- removed some NULL checks that were only in bmesh
- enable cycles by default (was disabled because it used not to work)
- make formatting match
2011-12-04 23:13:28 +00:00
eb233d9332
syncing some minor formatting edits from bmesh branch.
2011-12-04 23:04:43 +00:00
56da69fd03
Fix for [ #29467 ] Selection of active vertex color layer doesn't work
...
Need to push active layer indices from loops & polys to faces again after tesselations
2011-12-01 09:49:27 +00:00
92d35b74e7
svn merge -r41722:41723 ^/trunk/blender
2011-11-11 06:25:45 +00:00
46ae692710
Merge with trunk r41342
2011-10-28 17:00:53 +00:00
15e6d6cd75
svn merge ^/trunk/blender -r41226:41227 .
2011-10-24 12:43:08 +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
4e118bb22f
svn merge ^/trunk/blender -r40890:40950
2011-10-14 01:35:20 +00:00
8be3249537
Merge with trunk r40991
2011-10-13 21:43:02 +00:00
8bf78d7f56
Dynamic Paint:
...
* Fix: Wave "timescale" also changed simulation behavior. Now different timescale values will lead to nearly identical results, just slower or faster.
* Added "Displace Factor" setting for vertex displace surfaces. You can use it to adjust final displace strength or use negative values to paint bumps.
* Added clamp/map value to wave image sequence output settings.
* RNA description tweaking.
* General code tweaking.
2011-10-13 20:00:22 +00:00
bc40f11093
header cleanup (no functional changes)
2011-10-10 09:38:02 +00:00
5f75407e22
change TODO -> BMESH_TODO if only on bmesh branch
2011-08-07 12:45:55 +00:00
cd55aeaf6d
set many vars & functions as static,
...
also commented invalid pin theme alpha assignment so bmesh branch builds with -Werror
2011-05-11 02:14:43 +00:00
086d013ec2
=bmesh= glsl drawing in editmode works again, also fixed some minor customdata bugs
2011-05-10 17:01:26 +00:00
f01261d040
merge with/from trunk at r35190
2011-02-27 06:19:40 +00:00
Nathan Letwory
22638e22ea
doxygen: blenkernel under core as module.
2011-02-18 13:05:18 +00:00
24e80665d8
New customdata layer callback: validate
...
Used to validate displacement allocation size after face copying
to match face vertex and displacement corners count.
2011-01-02 17:08:25 +00:00
263830f000
Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for 'const char's,.
...
Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.
2010-12-03 17:05:21 +00:00
51dcbdde03
use 'const char *' by default with RNA functions except when the value is flagged as PROP_THICK_WRAP.
...
Also use const char in many other parts of blenders code.
Currently this gives warnings for setting operator id, label and description since these are an exception and allocated beforehand.
2010-11-17 09:45:45 +00:00
Nathan Letwory
c88a46e585
COLLADACOLLADA exporter: split geometry export into own files.
2010-10-06 09:53:06 +00:00
82432d0d99
merge from trunk at r31523
2010-09-07 05:47:34 +00:00