Antony Riakiotakis
c0a7830733
fix crash with path conversion, not all materials have nodes
2012-11-27 17:21:58 +00:00
Campbell Barton
2dbbcb4c73
add osl shader scripts to bpath walker (so making paths absolute or relative applies to shader paths too).
...
also remove "RNA_types.h" include from BKE_nodes.h.
2012-11-27 16:19:52 +00:00
Brecht Van Lommel
b43c022373
Move to layer: remove the OK button and make it apply immediately like it did
...
before, is much nicer workflow. Now only if global undo is disabled will the
OK button show.
This is also a more generic fix for #26891 that solves other operators that
were also broken with global undo disabled.
2012-11-27 16:02:15 +00:00
Brecht Van Lommel
5f8fded639
Fix cycles OSL shader loading warnings after recent bugfix.
2012-11-27 16:02:12 +00:00
Brecht Van Lommel
2b080dbc4e
Fix part of #32248 : transform with a size limit constraint did not preserve negative scale.
2012-11-27 16:02:03 +00:00
Campbell Barton
21db9ac0f4
replace and exception macro's for static functions and fix some bad assumptions.
2012-11-27 15:26:10 +00:00
Sergey Sharybin
eda56398af
Camera Tracking: fixed camera solve operator not updating scene camera
...
Was own regression caused by fix of crash when non-camera object is used
as scene camera.
2012-11-27 15:10:22 +00:00
Campbell Barton
c9d84ab5ed
split py->slot & slot->py into their own functions & fixed some mistakes with conversion.
2012-11-27 14:25:38 +00:00
Campbell Barton
492af7cc6b
move bmesh operator calling into its own file.
2012-11-27 13:54:34 +00:00
Campbell Barton
2d5b8172e9
add empty files (will move bmesh operator calling here)
2012-11-27 13:45:28 +00:00
Jens Verwiebe
1fa12f09d5
OSX/scons: introducing and testing an unexported_symbols_list to prevent clashes, todo: cmake
2012-11-27 11:38:59 +00:00
Sergey Sharybin
f79c61c166
Masking: fixed bug with vector handles not updating when CV is parented to a motion track.
2012-11-27 11:28:39 +00:00
Sergey Sharybin
9b14d3608f
Mark boost symbols as local
...
This was needed to resolve conflict between blender's and pylux's boost symbols.
Ideally visibility should be changed to local in lux as well, since if blender is
dynamically linked against boost it'll still crash.
Anyway, having this change wouldn't hurt and will solve issues with lux for official
linux builds at least.
2012-11-27 10:24:18 +00:00
Campbell Barton
a7555a81c7
remove unmaintained eltopo, keeping scons/cmake entries, but commenting out user visible config to make branch merging less of a hassle.
2012-11-27 09:52:20 +00:00
Campbell Barton
7c36100930
new bevel was still referring to old property name (holding shift wasnt working while beveling).
2012-11-27 09:47:22 +00:00
Campbell Barton
c00a1b7493
use clearer names for 'single' bmesh operator args & add '%e' to BMO_op_vinitf comments.
2012-11-27 09:41:08 +00:00
Campbell Barton
a9855c227e
py/bmesh api - add support for single item buffers (odd feature but used quite a bit with bmesh operators).
...
also add utility functions BMO_slot_buffer_from_single(), BMO_slot_buffer_get_single()
2012-11-27 09:21:57 +00:00
Brecht Van Lommel
0cd26e6066
Fix crash opening .blend file with missing lib linked scene and no local scene.
2012-11-27 08:19:34 +00:00
Campbell Barton
9775f1d743
generate api reference for 'bmesh.ops', restructured text is extracted from bmesh_opdefines.c.
...
see:
http://www.blender.org/documentation/blender_python_api_2_64_9/bmesh.ops.html
2012-11-27 06:56:51 +00:00
Campbell Barton
90666d3436
code cleanup: bmesh operator comments, readying for doc-generation.
2012-11-27 06:53:26 +00:00
Campbell Barton
9982b283e6
fix for asserts added in own recent commit with more strict type-checking
...
- BMO_slot_copy now only copies compatible elements.
other minor changes
- don't use text.format(...), convention for UI scripts is C style string formatting.
- rename bmo_edgenet_prepare --> bmo_edgenet_prepare_exec
- float/double warning in bevel.
2012-11-27 02:34:40 +00:00
Howard Trickey
33c92a02e4
Bevel: better round profile code.
...
Easier to understand, no touchy intersect code, and works
even when arms aren't equal length.
Old code ifdef'd for now, will remove soon.
2012-11-27 01:07:22 +00:00
Campbell Barton
f8bc346eff
bmesh/py operator api:
...
add type checking for element buffers, there was nothing stopping python from passing any element type into an argument when in some cases only verts/edges/faces were expected.
now operator args define which types they support.
2012-11-27 00:50:59 +00:00
Campbell Barton
f9e339ef00
fix/workaround [ #33281 ] script goes into not responding
...
scanfill remove-doubles pass assumes ordered edges (as with curves), otherwise it can hang.
workaround this problem by skipping removing-doubles for mesh ngons, since this isnt such a common case as it is with curves and we can just not support it.
2012-11-26 23:18:04 +00:00
Brecht Van Lommel
ceed3ef640
Fix #32907 : failure rendering a complex node setup, hitting fixed max number
...
of closures limit. Optimized the code now so it can handle more.
Change SVM mix/add closure handling, now we transform the node graph so that
the mix weights are fed into the closure nodes directly.
2012-11-26 21:59:41 +00:00
Bastien Montagne
eab58bf994
Spell check updates...
2012-11-26 21:25:50 +00:00
Brecht Van Lommel
42dc0dc5ef
Fix #33226 : error loading .blend files with different endian on Mac. The cause
...
was wrong inline and pure attributes on the endian switch function.
2012-11-26 20:37:04 +00:00
Antony Riakiotakis
5393922d1d
Remove non existent pthread include directory for MinGW, also slight message correction for 64 bit MinGW
2012-11-26 19:50:08 +00:00
Brecht Van Lommel
864c4112e9
Fix #33316 : mesh edge short path select was wrong on large/small objects.
2012-11-26 19:10:34 +00:00
Sergey Sharybin
c71ab7e774
Fix wrong color space used for generated float images
2012-11-26 17:38:03 +00:00
Campbell Barton
233e0b2472
fix uv lasso and circle select - both were not working with uv-face-select mode.
...
now face select with/without sync-select work, with sticky options too.
2012-11-26 16:55:44 +00:00
Campbell Barton
f8759797e6
fix for crash copying nodes, regression since last release.
2012-11-26 16:20:35 +00:00
Campbell Barton
3509dd9d7f
fix for changing images in UV editmode with sync-selection enabled, this was switching all images even those from unselected faces.
2012-11-26 15:12:17 +00:00
Antony Riakiotakis
f9bed10d1f
Enable python 3.3 for MinGW/CMake.
...
MinGW32 python libs will be commited later in the day
2012-11-26 14:47:34 +00:00
Sergey Sharybin
444d43f72c
Fix #33293L VSE: strip - separate images [Y] dialog "image duration" missing
2012-11-26 14:15:41 +00:00
Campbell Barton
0a5d44588c
switch verious references from py3.2 -> 3.3 or just 3.
2012-11-26 13:58:06 +00:00
Jason Wilkins
f5d8cd34cd
-fno-rtti is a gcc option which gives a warning when using MSVC
2012-11-26 13:48:48 +00:00
Campbell Barton
2ffa538f7d
search box width's now scale with DPI setting.
...
was checking on: [#33294 ] too small place for material names
this helps in some cases but doesn't resolve issue with very long names.
2012-11-26 13:23:37 +00:00
Sergey Sharybin
2d6402c10c
Switch windows to python 3.3
...
Should affect on msvc2008 only, however scons with msvc2010 could still be broken.
2012-11-26 12:38:40 +00:00
Campbell Barton
c2714a6a5b
fix [ #31598 ] Messed up Smart UVs
...
face areas were too close to zero. also copy the face normal to avoid recalculations on each use.
2012-11-26 11:53:34 +00:00
Brecht Van Lommel
58ee2bdfc0
Fix: cycles light sampling crash, happens on rare occasions due to float
...
rounding errors.
2012-11-26 11:05:22 +00:00
Campbell Barton
a91814e94d
style cleanup
2012-11-26 11:03:14 +00:00
Campbell Barton
e3d3ffe746
fix [ #33303 ] face selection masking for painting does not work with mesh with n-gon
...
caused by own change to how origindex is used, now if mpoly's CD_ORIGINDEX array is missing its assumes that its the original mpoly array.
2012-11-26 10:15:32 +00:00
Brecht Van Lommel
240ee2fccb
Fix #33312 : cycles render crash with motion blur / vector pass rendering. It's
...
actually the render threading issue and not a full fix, but this avoids the 3D
viewport getting redrawn when changing frames to get motion vectors.
2012-11-26 09:46:15 +00:00
Brecht Van Lommel
c91562d0ff
Fix #33310 : unnecessary redraw of outliner when editing materials and textures.
2012-11-26 08:52:07 +00:00
Campbell Barton
42c54bcd93
py/bmesh api - support for converting from/to BMO_OP_SLOT_MAPPING type.
2012-11-26 08:44:37 +00:00
Brecht Van Lommel
9784f3d466
Fix #33292 : cycles material draw mode selection not working on some cards, now
...
skip glsl for picking as was already done for other GLSL drawing.
2012-11-26 08:00:15 +00:00
Brecht Van Lommel
cf2c459325
Fix #33285 : loop cut is not supposed to cut through triangles/ngons, but it
...
still happened when the loop would go all the way around the mesh with just one
triangle/ngon inbetween to close the loop.
2012-11-26 06:59:59 +00:00
Brecht Van Lommel
7ecf054295
Bevel: allow page up / page down shortcuts for segments in addition to mousewheel.
2012-11-26 06:59:50 +00:00
Campbell Barton
e1dc420193
use slightly more efficient BLI_array_fixedstack_declare() instead of BLI_array_staticdeclare() for bevel code since the array size is known.
2012-11-26 05:06:33 +00:00