Campbell Barton
ff2eb8d72f
svn merge ^/trunk/blender -r42914:42918
2011-12-28 10:27:25 +00:00
Campbell Barton
2e92b14bc6
copy BLI_edgehash changes from bmesh branch, main change is use of mempool.
2011-12-28 10:20:37 +00:00
Campbell Barton
2da527b017
un-inline edgehash functions, BLI_edgehash_insert was far too big to inline.
...
and have edge hash use unsigned ints since edge verts are unsigned ints for MEdge's
2011-12-28 10:06:10 +00:00
Campbell Barton
86b184dc9b
un-inline edgehash functions, BLI_edgehash_insert especially was too large to inline
2011-12-28 09:47:24 +00:00
Campbell Barton
5d46acd59f
minor edits and correcton to assert
2011-12-28 09:14:09 +00:00
Campbell Barton
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
Campbell Barton
317b3c7f3f
svn merge ^/trunk/blender -r42902:42911
2011-12-28 08:36:25 +00:00
Campbell Barton
8de51d3736
reduce size of typemap, and minor changes to sync with trunk
2011-12-28 08:33:19 +00:00
Campbell Barton
b459067dd2
minor changes from bmesh into trunk
2011-12-28 08:29:03 +00:00
Campbell Barton
f89aeae10c
sync some edits with bmesh
2011-12-28 07:43:06 +00:00
Campbell Barton
dab41e0499
macro for getting next/previous MPoly loops
2011-12-28 07:10:27 +00:00
Campbell Barton
4bc4c018d1
set mloop edge and vertex as unsigned ints since face/edge reference verts as unsigned ints too
2011-12-28 04:43:29 +00:00
Campbell Barton
6d878810c6
for bpy.props, when 'name' argument is not initialized, vallback to the attribute name rather than an empty string.
2011-12-28 04:25:46 +00:00
Tamito Kajiyama
0896a22723
Merged changes in the trunk up to revision 42902.
...
Conflicts resolved:
source/blender/editors/space_view3d/drawobject.c
source/blender/makesdna/DNA_mesh_types.h
source/blender/python/intern/bpy.c
2011-12-27 22:12:46 +00:00
Campbell Barton
74b1a6465f
saving to legacy mesh format is now functional
2011-12-27 13:44:15 +00:00
Campbell Barton
38f8c897e7
svn merge ^/trunk/blender -r42886:42902
2011-12-27 13:28:30 +00:00
Campbell Barton
0059b8dd96
option to save as older mesh format (ifdef'd for now)
2011-12-27 13:17:58 +00:00
Howard Trickey
edd6f21f6c
Change visualize indices so that edit select mode chooses which elements are visualized
2011-12-27 12:50:23 +00:00
Jens Verwiebe
8de512fe09
OSX: adding PNG codec to QTKit, to have one more alpha enabled one atm
2011-12-27 11:29:27 +00:00
Sergey Sharybin
6963e43148
More fixes for timecode usage with BKE_movieclip_get_ibuf_flag
2011-12-27 11:09:06 +00:00
Sergey Sharybin
0ac3ab752f
Fix #29688 : Timecode is not used in tracking
...
Use proper timecode flags sending to BKE_movieclip_get_ibuf_flag function,
so now frames for tracking would be full-resolution but calculated using
timecode defined in th interface,
2011-12-27 10:52:23 +00:00
Jens Verwiebe
86037ca59f
OSX: adding some more codecs to QTKit
2011-12-27 10:51:01 +00:00
Sergey Sharybin
fd134927dd
Merging r42800 through r42895 from trunk into soc-2011-tomato
2011-12-27 10:11:07 +00:00
Sergey Sharybin
a0e62e77d7
Update build files to use new OpenAL libraries
2011-12-27 09:37:19 +00:00
Campbell Barton
de14457abf
option to save bmesh files in older mesh format so they can load in older versoons of blender.
...
- saves UV's and VCols
- skips NGons
- resulting files load in both BMesh and Trunk.
TODO - add an option in the UI to access this.
2011-12-27 08:39:55 +00:00
Campbell Barton
dab71f9b12
svn merge ^/trunk/blender -r42882:42886
2011-12-27 04:08:21 +00:00
Campbell Barton
397d7d949f
remove unneeded casts from 'unsigned int' to 'int'
2011-12-27 03:54:23 +00:00
Thomas Dinges
8d92e14088
* Fixing compile after recent i18 commits.
2011-12-27 01:35:39 +00:00
Nicholas Bishop
ebf5cfb5ce
Fix own error in r42881, didn't add rectangle padding correctly.
2011-12-26 23:36:44 +00:00
Campbell Barton
f63e33303f
svn merge ^/trunk/blender -r42871:42882
2011-12-26 21:39:16 +00:00
Martin Poirier
8cc96408df
[ #29144 ] Snapping control points: can't choose which one to delete
...
Reported by Pep Ribal
You can now select which snap point to remove (with Alt-A) by moving the cursor over them.
Display colors are also used to indicate which snap points are active, selected or just there.
2011-12-26 20:23:07 +00:00
Nicholas Bishop
5f3b1a9767
Factor out some generic parts of the sculpting PBVH redraw planes code.
...
One function converts bounding boxes to screen space, the other
converts a screen-space rectangle to 3D clipping planes.
Also const-ified some parameters in the ED_view3d API.
2011-12-26 20:19:55 +00:00
Martin Poirier
d8ab99c147
[ #29611 ] Crash when scale one vertex with snap.
...
Reported by Andrey Penyaz
Scale snap defaults to 1 when snapping is impossible (distance to center of transformation is zero).
2011-12-26 19:03:32 +00:00
Sergey Sharybin
70329296d4
Another fix for #29494 : Problem loading translations at Blender's startup
...
Reset only LANG variable to it's default value when setting locale to
short/long name failed and set LANGUAGE to value calculated from LANG
or value in user preferences (depending on if Default language is set)
so correct language ill be used for messages even if locale files aren't
generated.
Also disabled i18n prints in non-debug run so console wouldn't be polluted
by messages which aren't really informative for user now and might confuse.
2011-12-26 14:52:36 +00:00
Campbell Barton
e17fd46c71
formatting edits only to use more consisted style
2011-12-26 12:26:11 +00:00
Campbell Barton
f48fb385ea
formatting edits & minor corrections
2011-12-26 00:42:35 +00:00
Campbell Barton
65104d49e0
patch from debian from Kevin 'kiniou' Roy
...
added __GNU__ and __GLIBC__ to conditional defined in order to compile on KFreeBSD
2011-12-26 00:13:03 +00:00
Campbell Barton
986e62f3b6
fix for a bug in mathutils when a vector was accessing a matrix and the matrix size increased, future access too the vector would write past the allocated bounds. now raise an exception.
2011-12-26 00:05:41 +00:00
Campbell Barton
2cd5436a81
svn merge ^/trunk/blender -r42839:42871
2011-12-25 21:31:19 +00:00
Campbell Barton
02d72b5c07
include BLO_sys_types in customdata header rather than stdint directly.
2011-12-25 21:27:23 +00:00
Campbell Barton
67effc8aef
use docstrings for mathutils getset's, also some formatting edits, no functional changes.
2011-12-25 11:36:26 +00:00
Campbell Barton
f3ac865cc0
picky formatting of mathutils
2011-12-24 13:26:30 +00:00
Jens Verwiebe
856208dba2
OSX/gcc-4.6, fix for typedef uin64_t
2011-12-24 08:03:43 +00:00
Campbell Barton
2a80368005
mathtils, convenience attributes added 'row' and 'col', this makes the row/col swap a lot easier to deal with, since
...
now you can still use column access
previously...
mat[2] = 1, 2, 3
needed to be converted into...
mat[0][2] = 1
mat[1][2] = 2
mat[2][2] = 3
but with column access you can do...
mat.col[2] = 1, 2, 3
Having 'row' attribute is a bit redundant since direct indexing on a matrix uses row but included for completeness.
2011-12-24 07:03:19 +00:00
Campbell Barton
28a5549ecf
fix for error with matrix access and negative indices with recent row/col swap.
2011-12-24 06:13:58 +00:00
Campbell Barton
b42497b460
mathutils get/set function rename + minor changes to matrix functions (no functional changes)
2011-12-24 04:58:01 +00:00
Campbell Barton
eb3beca8d4
replace u_int64_t with cc99's uint64_t as suggested by Nicholas Bishop.
2011-12-24 03:03:42 +00:00
Campbell Barton
33bd38ebc7
minor edits to cycles c/python module
...
- rename 'bcycles' --> '_cycles', since this is the python convention when a py module uses a C module internally.
- use macros for returning None
- make with_osl an attribute rather then a function.
- changes methods METH_VARARGS --> METH_O when single args are used.
2011-12-24 02:47:13 +00:00
Campbell Barton
b21a0f4fa1
formatting edits 120 line length
2011-12-24 02:37:42 +00:00
Tamito Kajiyama
6bfbb26f32
Fix for line style names not being made unique after a new name is set.
2011-12-24 01:22:48 +00:00