blender.git
7 years agoOSX/scons: introducing and testing an unexported_symbols_list to prevent clashes...
Jens Verwiebe [Tue, 27 Nov 2012 11:38:59 +0000 (11:38 +0000)]
OSX/scons: introducing and testing an unexported_symbols_list to prevent clashes, todo: cmake

7 years agoMasking: fixed bug with vector handles not updating when CV is parented to a motion...
Sergey Sharybin [Tue, 27 Nov 2012 11:28:39 +0000 (11:28 +0000)]
Masking: fixed bug with vector handles not updating when CV is parented to a motion track.

7 years agoMark boost symbols as local
Sergey Sharybin [Tue, 27 Nov 2012 10:24:18 +0000 (10:24 +0000)]
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.

7 years agoremove unmaintained eltopo, keeping scons/cmake entries, but commenting out user...
Campbell Barton [Tue, 27 Nov 2012 09:52:20 +0000 (09:52 +0000)]
remove unmaintained eltopo, keeping scons/cmake entries, but commenting out user visible config to make branch merging less of a hassle.

7 years agonew bevel was still referring to old property name (holding shift wasnt working while...
Campbell Barton [Tue, 27 Nov 2012 09:47:22 +0000 (09:47 +0000)]
new bevel was still referring to old property name (holding shift wasnt working while beveling).

7 years agouse clearer names for 'single' bmesh operator args & add '%e' to BMO_op_vinitf comments.
Campbell Barton [Tue, 27 Nov 2012 09:41:08 +0000 (09:41 +0000)]
use clearer names for 'single' bmesh operator args & add '%e' to BMO_op_vinitf comments.

7 years agopy/bmesh api - add support for single item buffers (odd feature but used quite a...
Campbell Barton [Tue, 27 Nov 2012 09:21:57 +0000 (09:21 +0000)]
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()

7 years agoFix crash opening .blend file with missing lib linked scene and no local scene.
Brecht Van Lommel [Tue, 27 Nov 2012 08:19:34 +0000 (08:19 +0000)]
Fix crash opening .blend file with missing lib linked scene and no local scene.

7 years agogenerate api reference for 'bmesh.ops', restructured text is extracted from bmesh_opd...
Campbell Barton [Tue, 27 Nov 2012 06:56:51 +0000 (06:56 +0000)]
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

7 years agocode cleanup: bmesh operator comments, readying for doc-generation.
Campbell Barton [Tue, 27 Nov 2012 06:53:26 +0000 (06:53 +0000)]
code cleanup: bmesh operator comments, readying for doc-generation.

7 years agofix for asserts added in own recent commit with more strict type-checking
Campbell Barton [Tue, 27 Nov 2012 02:34:40 +0000 (02:34 +0000)]
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.

7 years agoBevel: better round profile code.
Howard Trickey [Tue, 27 Nov 2012 01:07:22 +0000 (01:07 +0000)]
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.

7 years agobmesh/py operator api:
Campbell Barton [Tue, 27 Nov 2012 00:50:59 +0000 (00:50 +0000)]
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.

7 years agofix/workaround [#33281] script goes into not responding
Campbell Barton [Mon, 26 Nov 2012 23:18:04 +0000 (23:18 +0000)]
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.

7 years agoFix #32907: failure rendering a complex node setup, hitting fixed max number
Brecht Van Lommel [Mon, 26 Nov 2012 21:59:41 +0000 (21:59 +0000)]
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.

7 years agoSpell check updates...
Bastien Montagne [Mon, 26 Nov 2012 21:25:50 +0000 (21:25 +0000)]
Spell check updates...

7 years agoFix #33226: error loading .blend files with different endian on Mac. The cause
Brecht Van Lommel [Mon, 26 Nov 2012 20:37:04 +0000 (20:37 +0000)]
Fix #33226: error loading .blend files with different endian on Mac. The cause
was wrong inline and pure attributes on the endian switch function.

7 years agoRemove non existent pthread include directory for MinGW, also slight message correcti...
Antony Riakiotakis [Mon, 26 Nov 2012 19:50:08 +0000 (19:50 +0000)]
Remove non existent pthread include directory for MinGW, also slight message correction for 64 bit MinGW

7 years agoFix #33316: mesh edge short path select was wrong on large/small objects.
Brecht Van Lommel [Mon, 26 Nov 2012 19:10:34 +0000 (19:10 +0000)]
Fix #33316: mesh edge short path select was wrong on large/small objects.

7 years agoFix wrong color space used for generated float images
Sergey Sharybin [Mon, 26 Nov 2012 17:38:03 +0000 (17:38 +0000)]
Fix wrong color space used for generated float images

7 years agofix uv lasso and circle select - both were not working with uv-face-select mode.
Campbell Barton [Mon, 26 Nov 2012 16:55:44 +0000 (16:55 +0000)]
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.

7 years agofix for crash copying nodes, regression since last release.
Campbell Barton [Mon, 26 Nov 2012 16:20:35 +0000 (16:20 +0000)]
fix for crash copying nodes, regression since last release.

7 years agofix for changing images in UV editmode with sync-selection enabled, this was switchin...
Campbell Barton [Mon, 26 Nov 2012 15:12:17 +0000 (15:12 +0000)]
fix for changing images in UV editmode with sync-selection enabled, this was switching all images even those from unselected faces.

7 years agoEnable python 3.3 for MinGW/CMake.
Antony Riakiotakis [Mon, 26 Nov 2012 14:47:34 +0000 (14:47 +0000)]
Enable python 3.3 for MinGW/CMake.

MinGW32 python libs will be commited later in the day

7 years agoFix #33293L VSE: strip - separate images [Y] dialog "image duration" missing
Sergey Sharybin [Mon, 26 Nov 2012 14:15:41 +0000 (14:15 +0000)]
Fix #33293L VSE: strip - separate images [Y] dialog "image duration" missing

7 years agoswitch verious references from py3.2 -> 3.3 or just 3.
Campbell Barton [Mon, 26 Nov 2012 13:58:06 +0000 (13:58 +0000)]
switch verious references from py3.2 -> 3.3 or just 3.

7 years ago-fno-rtti is a gcc option which gives a warning when using MSVC
Jason Wilkins [Mon, 26 Nov 2012 13:48:48 +0000 (13:48 +0000)]
-fno-rtti is a gcc option which gives a warning when using MSVC

7 years agosearch box width's now scale with DPI setting.
Campbell Barton [Mon, 26 Nov 2012 13:23:37 +0000 (13:23 +0000)]
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.

7 years agoSwitch windows to python 3.3
Sergey Sharybin [Mon, 26 Nov 2012 12:38:40 +0000 (12:38 +0000)]
Switch windows to python 3.3

Should affect on msvc2008 only, however scons with msvc2010 could still be broken.

7 years agofix [#31598] Messed up Smart UVs
Campbell Barton [Mon, 26 Nov 2012 11:53:34 +0000 (11:53 +0000)]
fix [#31598] Messed up Smart UVs

face areas were too close to zero. also copy the face normal to avoid recalculations on each use.

7 years agoFix: cycles light sampling crash, happens on rare occasions due to float
Brecht Van Lommel [Mon, 26 Nov 2012 11:05:22 +0000 (11:05 +0000)]
Fix: cycles light sampling crash, happens on rare occasions due to float
rounding errors.

7 years agostyle cleanup
Campbell Barton [Mon, 26 Nov 2012 11:03:14 +0000 (11:03 +0000)]
style cleanup

7 years agofix [#33303] face selection masking for painting does not work with mesh with n-gon
Campbell Barton [Mon, 26 Nov 2012 10:15:32 +0000 (10:15 +0000)]
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.

7 years agoFix #33312: cycles render crash with motion blur / vector pass rendering. It's
Brecht Van Lommel [Mon, 26 Nov 2012 09:46:15 +0000 (09:46 +0000)]
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.

7 years agoFix #33310: unnecessary redraw of outliner when editing materials and textures.
Brecht Van Lommel [Mon, 26 Nov 2012 08:52:07 +0000 (08:52 +0000)]
Fix #33310: unnecessary redraw of outliner when editing materials and textures.

7 years agopy/bmesh api - support for converting from/to BMO_OP_SLOT_MAPPING type.
Campbell Barton [Mon, 26 Nov 2012 08:44:37 +0000 (08:44 +0000)]
py/bmesh api - support for converting from/to BMO_OP_SLOT_MAPPING type.

7 years agoFix #33292: cycles material draw mode selection not working on some cards, now
Brecht Van Lommel [Mon, 26 Nov 2012 08:00:15 +0000 (08:00 +0000)]
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.

7 years agoFix #33285: loop cut is not supposed to cut through triangles/ngons, but it
Brecht Van Lommel [Mon, 26 Nov 2012 06:59:59 +0000 (06:59 +0000)]
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.

7 years agoBevel: allow page up / page down shortcuts for segments in addition to mousewheel.
Brecht Van Lommel [Mon, 26 Nov 2012 06:59:50 +0000 (06:59 +0000)]
Bevel: allow page up / page down shortcuts for segments in addition to mousewheel.

7 years agouse slightly more efficient BLI_array_fixedstack_declare() instead of BLI_array_stati...
Campbell Barton [Mon, 26 Nov 2012 05:06:33 +0000 (05:06 +0000)]
use slightly more efficient BLI_array_fixedstack_declare() instead of BLI_array_staticdeclare() for bevel code since the array size is known.

7 years agofix [#33305] Bevel tool crashes Blender if the number of segments exceeds 28
Campbell Barton [Mon, 26 Nov 2012 04:58:33 +0000 (04:58 +0000)]
fix [#33305] Bevel tool crashes Blender if the number of segments exceeds 28

this was infact a general bug in BLI_array_grow_items(), surprising we didnt run into it before.
- growing the array for the first time would use the static var even if it wasn't big enough.

7 years agofix for uninitialized memory use with numeric input:
Campbell Barton [Mon, 26 Nov 2012 03:47:20 +0000 (03:47 +0000)]
fix for uninitialized memory use with numeric input:
  bevel/inset/marker-move would use uninitialized memory when used as modal operators and pressing backspace after entering values.

7 years agouse more rigid type checking for bmesh slot subtypes.
Campbell Barton [Mon, 26 Nov 2012 03:16:29 +0000 (03:16 +0000)]
use more rigid type checking for bmesh slot subtypes.

7 years agoadd subtypes to bmesh operators (needed for python api to know how to convert return...
Campbell Barton [Mon, 26 Nov 2012 02:24:03 +0000 (02:24 +0000)]
add subtypes to bmesh operators (needed for python api to know how to convert return values).

7 years agocode cleanup: doxy comment corrections and correct own typo animation player docs.
Campbell Barton [Mon, 26 Nov 2012 00:59:11 +0000 (00:59 +0000)]
code cleanup: doxy comment corrections and correct own typo animation player docs.

7 years agoFix #33304: missing 3D view redraw while moving camera markers.
Brecht Van Lommel [Sun, 25 Nov 2012 16:52:42 +0000 (16:52 +0000)]
Fix #33304: missing 3D view redraw while moving camera markers.

7 years agoFix #33291: when using boundbox drawtype for a large number of duplicated objects,
Brecht Van Lommel [Sun, 25 Nov 2012 16:12:07 +0000 (16:12 +0000)]
Fix #33291: when using boundbox drawtype for a large number of duplicated objects,
enabling Wire draw on the parent would draw full resolution wires for all the
instances which can be very slow. So for boundbox those draw extras options are not
inherited now.

7 years agocode cleanup: warnings, style
Campbell Barton [Sun, 25 Nov 2012 15:05:17 +0000 (15:05 +0000)]
code cleanup: warnings, style

7 years agoMore fixes to parallel tests to make them less sensitive, prevents assert failures.
Howard Trickey [Sun, 25 Nov 2012 13:52:13 +0000 (13:52 +0000)]
More fixes to parallel tests to make them less sensitive, prevents assert failures.
Also made bl_debug_draw_edge_add better (don't draw edges in one continuous line).

7 years agofix [#33278] zoom mode in UV editor
Campbell Barton [Sun, 25 Nov 2012 13:17:40 +0000 (13:17 +0000)]
fix [#33278] zoom mode in UV editor

really a feature request, continuous zoom wasn't supported in the image editor.

7 years agocontinuous zoom was inverted from other zoom modes.
Campbell Barton [Sun, 25 Nov 2012 09:52:05 +0000 (09:52 +0000)]
continuous zoom was inverted from other zoom modes.

7 years agofix [#33299] When I click right button on proportional editing mode button Blender...
Campbell Barton [Sun, 25 Nov 2012 09:25:24 +0000 (09:25 +0000)]
fix [#33299] When I click right button on proportional editing mode button Blender crashes (segmentation fault)

RNA_path_from_ID_to_property() would return an uninitialized pointer.

7 years agoBGE: The blenderplayer usage docs mentioned "enable all frames" was "fixedtime,"...
Mitchell Stokes [Sun, 25 Nov 2012 07:42:41 +0000 (07:42 +0000)]
BGE: The blenderplayer usage docs mentioned "enable all frames" was "fixedtime," but the player was actually looking for "fixed_framerate." Since fixedtime doesn't have a fixed framerate, but a fixed time step, I change the player to look for the documented flag, "fixedtime," which makes more sense.

7 years agoFix #33296: uv editing did unnecessary outliner redraw, giving slowdown.
Brecht Van Lommel [Sun, 25 Nov 2012 06:55:39 +0000 (06:55 +0000)]
Fix #33296: uv editing did unnecessary outliner redraw, giving slowdown.

7 years agoFix #33297: crash loading modal keymap after recent keymap bugfix.
Brecht Van Lommel [Sun, 25 Nov 2012 06:55:33 +0000 (06:55 +0000)]
Fix #33297: crash loading modal keymap after recent keymap bugfix.

7 years agoFix #33290: pressing alt+Z in wireframe mode did not go to textured draw mode
Brecht Van Lommel [Sat, 24 Nov 2012 20:54:14 +0000 (20:54 +0000)]
Fix #33290: pressing alt+Z in wireframe mode did not go to textured draw mode
directly as it used to in 2.4x.

7 years agoFix #33286: when keyframing object scale, noise fmodifier scale would show
Brecht Van Lommel [Sat, 24 Nov 2012 15:46:14 +0000 (15:46 +0000)]
Fix #33286: when keyframing object scale, noise fmodifier scale would show
as animated in the UI.

7 years agoFix #33282: missing GLSL update assigning a lamp texture.
Brecht Van Lommel [Sat, 24 Nov 2012 14:50:40 +0000 (14:50 +0000)]
Fix #33282: missing GLSL update assigning a lamp texture.

7 years agoFix #33152: cycles SVM crash with certain shader nodes setups where closures would
Brecht Van Lommel [Sat, 24 Nov 2012 14:50:21 +0000 (14:50 +0000)]
Fix #33152: cycles SVM crash with certain shader nodes setups where closures would
appear multiple times after flattening the mix/add shader part of the graph into a
tree structure.

7 years agocineonlib.c: Quieted warning, inconsistency between printf format (%lu) and the type...
Jason Wilkins [Sat, 24 Nov 2012 14:19:21 +0000 (14:19 +0000)]
cineonlib.c: Quieted warning, inconsistency between printf format (%lu) and the type of an argument (uintptr_t??)

The struct member is an unsigned int, not a pointer, so it is mysterious why the orignal code cast it to an uintptr_t.

I changed the code to cast it to an unsigned long so that it matches the format.

7 years agoBGE: Implementing a fix for the "Problem With Clock" issues reported in #32708 and...
Mitchell Stokes [Sat, 24 Nov 2012 08:10:56 +0000 (08:10 +0000)]
BGE: Implementing a fix for the "Problem With Clock" issues reported in #32708 and #33088. At the moment this feels like a bit of a stop gap, but it does solve the stuttering issue that #33088 mentioned.

7 years agouse a search popup for 'blend from shape' tool, suggested by Juan Pablo.
Campbell Barton [Sat, 24 Nov 2012 05:38:20 +0000 (05:38 +0000)]
use a search popup for 'blend from shape' tool, suggested by Juan Pablo.
use standard operator panel, since the popup was too easy to cancel by accident, especially with a popup search menu.

7 years agoquiet warning about the context not being used when internationalization is disabled.
Campbell Barton [Sat, 24 Nov 2012 05:36:48 +0000 (05:36 +0000)]
quiet warning about the context not being used when internationalization is disabled.

7 years agoadd ENUM support for layout.prop_search() / uiItemPointerR
Campbell Barton [Sat, 24 Nov 2012 05:15:48 +0000 (05:15 +0000)]
add ENUM support for layout.prop_search() / uiItemPointerR

7 years agocorrect warning messages - ptr/prop mismatch.
Campbell Barton [Sat, 24 Nov 2012 04:51:56 +0000 (04:51 +0000)]
correct warning messages - ptr/prop mismatch.

7 years agodisable GL_MULTISAMPLE_ARB by default on X11 (same as OSX cocoa)
Campbell Barton [Sat, 24 Nov 2012 01:06:54 +0000 (01:06 +0000)]
disable GL_MULTISAMPLE_ARB by default on X11 (same as OSX cocoa)

7 years agoremove USER_DISABLE_AA/use_antialiasing, this wasn't available from the UI but would...
Campbell Barton [Sat, 24 Nov 2012 00:59:10 +0000 (00:59 +0000)]
remove USER_DISABLE_AA/use_antialiasing, this wasn't available from the UI but would be confusing if someone had it set from an old file.

7 years agoBGE: Committing a patch from HG1 to fix [#30262] "bgl.glClipPlane don't work on Nvidi...
Mitchell Stokes [Sat, 24 Nov 2012 00:58:57 +0000 (00:58 +0000)]
BGE: Committing a patch from HG1 to fix [#30262] "bgl.glClipPlane don't work on Nvidia cards," which was also reported by HG1.

7 years agoIK Solver:
Brecht Van Lommel [Sat, 24 Nov 2012 00:18:34 +0000 (00:18 +0000)]
IK Solver:
* Rename Legacy to Standard, it's not being deprecated as far as I know.
* Make option to toggle off Location solving work with Standard.
* Make it converge a bit better in some cases by enforcing a minimum number of
  iterations before giving up.
* Move IK solver choice out of bone panel, it's an armature level setting and
  should be set there.

7 years agoFix #33279: crash in particle brush cut tool when cutting hairs that go outside the...
Brecht Van Lommel [Fri, 23 Nov 2012 21:22:13 +0000 (21:22 +0000)]
Fix #33279: crash in particle brush cut tool when cutting hairs that go outside the view.

7 years agoFix #33277: vertex merge would merge UVs by default, disabled that now by again
Brecht Van Lommel [Fri, 23 Nov 2012 19:10:56 +0000 (19:10 +0000)]
Fix #33277: vertex merge would merge UVs by default, disabled that now by again
like it did before bmesh.

Neither method is perfect, ideally it should do smart detection of UV islands
but without that it's better to disable because it is more difficult to recover
from incorrectly merged UVs than ones that were not merged.

7 years agoFix #33267: cycles math node power gave different results for CPU and GPU. The
Brecht Van Lommel [Fri, 23 Nov 2012 17:39:41 +0000 (17:39 +0000)]
Fix #33267: cycles math node power gave different results for CPU and GPU. The
GPU variants do not support pow(-1, 2), it doesn't check for even exponents, do
manually now.

7 years agoHandle of new BLF_I18N_MSGID_MULTI_CTXT macro, which allows to define a same msgid...
Bastien Montagne [Fri, 23 Nov 2012 15:35:16 +0000 (15:35 +0000)]
Handle of new BLF_I18N_MSGID_MULTI_CTXT macro, which allows to define a same msgid in up to 16 different contexts at once.

7 years agoBasic work to solve "New" translation mismatch (this is an adjective, which often...
Bastien Montagne [Fri, 23 Nov 2012 15:33:44 +0000 (15:33 +0000)]
Basic work to solve "New" translation mismatch (this is an adjective, which often takes several forms depending on its related noun's gender, in non-english languages). Note though this does not completly solve the problem (python "New" is still uncontextual).

Moved AUDIO context to ID_SOUND (let's try to keep this as simple as possible!).

Also done some cleanup. Relevant i18n tools edits will follow.

7 years agoPatch [#33196] Warning Fixes 11-16-2012
Jason Wilkins [Fri, 23 Nov 2012 15:12:13 +0000 (15:12 +0000)]
Patch [#33196] Warning Fixes 11-16-2012

* MEM_CacheLimitier - Size type to int conversion, should be safe for now (doing my best Bill Gates 640k impression)
* OpenNL CMakeLists.txt - MSVC and GCC have slightly different ways to remove definitions (DEBUG) without the compiler complaining
* BLI_math inlines - The include guard name and inline option macro name should be different. Suppressed warning about not exporting any symbols from inline math library
* BLI string / utf8 - Fixed some inconsistencies between declarations and definitions
* nodes - node_composite_util is apparently not used unless you enable the legacy compositor, so it should not be compiled in that case.

Leaving out changes to BLI_fileops for now, need to do more testing.

7 years agoText Editor: remove text marker functionality. Patch [#33251]
Justin Dailey [Fri, 23 Nov 2012 14:33:14 +0000 (14:33 +0000)]
Text Editor: remove text marker functionality. Patch [#33251]

7 years agoFix cycles AO issue, still was missing AO pass for black/non-diffuse objects.
Brecht Van Lommel [Fri, 23 Nov 2012 13:41:25 +0000 (13:41 +0000)]
Fix cycles AO issue, still was missing AO pass for black/non-diffuse objects.

7 years agom_overlay wasn't initialized in a constructor of FastGaussianBlurValueOperation
Sergey Sharybin [Fri, 23 Nov 2012 12:54:44 +0000 (12:54 +0000)]
m_overlay wasn't initialized in a constructor of FastGaussianBlurValueOperation

7 years agoFix usage of uninialized memory in some operations
Sergey Sharybin [Fri, 23 Nov 2012 12:50:59 +0000 (12:50 +0000)]
Fix usage of uninialized memory in some operations

- FastGaussianBlurValueOperation is a value operation, so use only first vector
  component in initializeTileData.

- Gamma correct/uncorrect operations didn't set alpha for output which lead to
  usage of uninitialzied memory further in nodes graph.

7 years agoFix related to #33259: cycles normal map node color input couldn't be
Brecht Van Lommel [Fri, 23 Nov 2012 12:42:01 +0000 (12:42 +0000)]
Fix related to #33259: cycles normal map node color input couldn't be
disconnected properly with dragging.

7 years agoCompositor: Disabled debug assert checks for connected input sockets after convertToO...
Lukas Toenne [Fri, 23 Nov 2012 12:39:49 +0000 (12:39 +0000)]
Compositor: Disabled debug assert checks for connected input sockets after convertToOperations. This breaks quite a lot and is not really necessary, since connected Node inputs are ignored later on. Connected outputs however are still forbidden, this indicates a real bug.

7 years agoifdef'd gcc diagnostic pragma's to quiet msvc and others.
Campbell Barton [Fri, 23 Nov 2012 10:03:50 +0000 (10:03 +0000)]
ifdef'd gcc diagnostic pragma's to quiet msvc and others.

7 years agoFix #33271: Box tool delay
Sergey Sharybin [Fri, 23 Nov 2012 10:00:15 +0000 (10:00 +0000)]
Fix #33271: Box tool delay

Issue was introduced in svn rev51808 which was a fix for #33038

One of changes in that patch lead to a situation that if some keymap don't have
modifier key it wouldn't be triggered in cases modifier key was pressed.

7 years agoFix #33266: Transforming with Y axis constraint didn't apply aspect ratio correct
Sergey Sharybin [Fri, 23 Nov 2012 09:22:34 +0000 (09:22 +0000)]
Fix #33266: Transforming with Y axis constraint didn't apply aspect ratio correct

It first needed to constraint numeric input and then apply aspect correction only,
otherwise aspect correction would be applied on a wrong axis.

7 years agoFix #33270: Opening file browser crashes when sequencer preview is visible
Sergey Sharybin [Fri, 23 Nov 2012 07:54:04 +0000 (07:54 +0000)]
Fix #33270: Opening file browser crashes when sequencer preview is visible

Crash only happens if thumbnails are enabled and crash was caused by removing
jobs while iterating them.

7 years agoBGE Docs: Adding some docs for some of the Steering Actuator attributes. I grabbed...
Mitchell Stokes [Fri, 23 Nov 2012 07:47:53 +0000 (07:47 +0000)]
BGE Docs: Adding some docs for some of the Steering Actuator attributes. I grabbed the docs from the UI descriptions from RNA for the Steering Actuator. However, these aren't the best descriptions, and both the UI descriptions and the docs could use some attention. Also, steeringVec and facingMode didn't have corresponding UI elements, so I've left them undocumented for now. Someone who knows what they do can hopefully document them.

7 years agocode cleanup: warning & style
Campbell Barton [Fri, 23 Nov 2012 06:35:06 +0000 (06:35 +0000)]
code cleanup: warning & style

7 years agoskip some redundant looping in bevel code.
Campbell Barton [Fri, 23 Nov 2012 06:09:03 +0000 (06:09 +0000)]
skip some redundant looping in bevel code.

7 years agofix for inset getting bad UV's/VCols at face boundaries.
Campbell Barton [Fri, 23 Nov 2012 05:49:00 +0000 (05:49 +0000)]
fix for inset getting bad UV's/VCols at face boundaries.

7 years agoBugfix [#29186] Object contribute to fluid sim animation start earlier than keyframe
Daniel Genrich [Fri, 23 Nov 2012 05:00:07 +0000 (05:00 +0000)]
Bugfix [#29186] Object contribute to fluid sim animation start earlier than keyframe

Also fix:
- Fluid simulation was always lagging 1 frame behind: E.g. the 250th frame in blender showed 249th frame of the fluid simulation.

Change:
- Animated enabled/disabled property only gets counted as "on" if value >= 1

Note that this bugfix should solve many problems with timings of animated fluid sim properties.

7 years agoFix bevel crash in OSX debug build.
Howard Trickey [Fri, 23 Nov 2012 03:15:16 +0000 (03:15 +0000)]
Fix bevel crash in OSX debug build.
Code to select from output slot moved before
EDBM_op_finish, which frees slot buffers.

7 years agofinal fix for Sensor Fit (AUTO, HOR, VERT) in panorama lens - patch by Brecht Van...
Dalai Felinto [Fri, 23 Nov 2012 02:10:13 +0000 (02:10 +0000)]
final fix for Sensor Fit (AUTO, HOR, VERT) in panorama lens - patch by Brecht Van Lommel and me

7 years agoBugfix [#33268] Crash when delete all or segment from curve with SplineIK
Joshua Leung [Thu, 22 Nov 2012 23:19:15 +0000 (23:19 +0000)]
Bugfix [#33268] Crash when delete all or segment from curve with SplineIK

Path rebuild may fail after certain editing operations. Instead of blindly
assuming that path rebuilds will always succeed, we now give up trying to
evaluate in case of failure.

7 years agoStyle: AnimData vars should be named "adt" NOT "ad"
Joshua Leung [Thu, 22 Nov 2012 22:58:01 +0000 (22:58 +0000)]
Style: AnimData vars should be named "adt" NOT "ad"

7 years agoBGE Docs: Adding docs for bge.logic.NextFrame() and bge.logic.PrintMemInfo() based...
Mitchell Stokes [Thu, 22 Nov 2012 22:38:31 +0000 (22:38 +0000)]
BGE Docs: Adding docs for bge.logic.NextFrame() and bge.logic.PrintMemInfo() based on their doc strings. There was also an :rtype: in the bge.logic.setExitKey() docs that should have been :type:.

7 years agoBGE Docs: Adding docs for KX_Scene.drawObstacleSimulation() based on its doc string.
Mitchell Stokes [Thu, 22 Nov 2012 22:25:12 +0000 (22:25 +0000)]
BGE Docs: Adding docs for KX_Scene.drawObstacleSimulation() based on its doc string.

7 years agoFix cycles OSL wrong reflection texture coordinate.
Brecht Van Lommel [Thu, 22 Nov 2012 22:24:34 +0000 (22:24 +0000)]
Fix cycles OSL wrong reflection texture coordinate.

7 years agoBGE Docs: Documenting missing Sound Actuator attributes based on RNA UI strings.
Mitchell Stokes [Thu, 22 Nov 2012 22:13:27 +0000 (22:13 +0000)]
BGE Docs: Documenting missing Sound Actuator attributes based on RNA UI strings.

7 years agoBGE Docs: Adding docs for the KX_GameObject.playAction() play_mode constants.
Mitchell Stokes [Thu, 22 Nov 2012 21:52:30 +0000 (21:52 +0000)]
BGE Docs: Adding docs for the KX_GameObject.playAction() play_mode constants.

7 years agoBGE Docs: Reordering the "Various" constants so they are in alphabetical order.
Mitchell Stokes [Thu, 22 Nov 2012 21:37:12 +0000 (21:37 +0000)]
BGE Docs: Reordering the "Various" constants so they are in alphabetical order.