8 years agobmesh operator api reference - add in 'bmesh' arg at the start of each operator,...
Campbell Barton [Wed, 28 Nov 2012 01:14:11 +0000 (01:14 +0000)]
bmesh operator api reference - add in 'bmesh' arg at the start of each operator, also use :class: references.

8 years agouse radians for 'spin' bmesh operator (since the rest of the py api uses radians...
Campbell Barton [Wed, 28 Nov 2012 00:47:33 +0000 (00:47 +0000)]
use radians for 'spin' bmesh operator (since the rest of the py api uses radians). also rename BMO_OP_SLOT_SUBTYPE_MAP_FLOAT -> BMO_OP_SLOT_SUBTYPE_MAP_FLT for consistency.

8 years agobmesh operator naming - use clearer names for args eg: (mat -> matrix, use_singleedge...
Campbell Barton [Wed, 28 Nov 2012 00:16:06 +0000 (00:16 +0000)]
bmesh operator naming - use clearer names for args eg: (mat -> matrix, use_singleedge -> use_single_edge)

also remove duplicate docs for operator arg formatting.

8 years agoimprove docstring for BMO_op_vinitf().
Campbell Barton [Tue, 27 Nov 2012 23:37:02 +0000 (23:37 +0000)]
improve docstring for BMO_op_vinitf().

8 years agoGPU: remove GPU Mipmap Generation option and just always enable it, it's an old
Brecht Van Lommel [Tue, 27 Nov 2012 22:51:28 +0000 (22:51 +0000)]
GPU: remove GPU Mipmap Generation option and just always enable it, it's an old
OpenGL 1.4 feature that is stable, there's no reason not to use it. Also fixed
GPU mipmap generation not working in the game player.

8 years agoFix #33328: cycles not rendering dupliframes, needs an exception.
Brecht Van Lommel [Tue, 27 Nov 2012 21:47:55 +0000 (21:47 +0000)]
Fix #33328: cycles not rendering dupliframes, needs an exception.

8 years agoFix #33168: collada export added incorrect -material postfix to material names.
Brecht Van Lommel [Tue, 27 Nov 2012 21:26:06 +0000 (21:26 +0000)]
Fix #33168: collada export added incorrect -material postfix to material names.

In the bug report it was also mentioned that special characters should be
preserved for names, however the collada 1.4 specification does not allow this.
Version 1.5 does, but we are still writing 1.4 files and files with such special
characters will then fail to open in some applications.

8 years agoFix #33326: outliner numpad minus collapse followed by numpad plus expand did not...
Brecht Van Lommel [Tue, 27 Nov 2012 20:12:00 +0000 (20:12 +0000)]
Fix #33326: outliner numpad minus collapse followed by numpad plus expand did not work.

8 years agoFix #33324: Auto IK not working after recent changes. iTaSC it seems never worked
Brecht Van Lommel [Tue, 27 Nov 2012 20:07:12 +0000 (20:07 +0000)]
Fix #33324: Auto IK not working after recent changes. iTaSC it seems never worked
with Auto IK, now that's fixed too.

8 years agoBGE: Fix for [#33027] "logic.keyboard polling rate extremely low" reported by Josiah...
Mitchell Stokes [Tue, 27 Nov 2012 17:41:39 +0000 (17:41 +0000)]
BGE: Fix for [#33027] "logic.keyboard polling rate extremely low" reported by Josiah Lane (solarlune). The embedded player now treats KM_DBL_CLICK the same as KM_PRESS.

8 years agoCMake: hide some unnecessary LLVM/OSL/EXR prints.
Brecht Van Lommel [Tue, 27 Nov 2012 17:30:46 +0000 (17:30 +0000)]
CMake: hide some unnecessary LLVM/OSL/EXR prints.

8 years agofix crash with path conversion, not all materials have nodes
Antony Riakiotakis [Tue, 27 Nov 2012 17:21:58 +0000 (17:21 +0000)]
fix crash with path conversion, not all materials have nodes

8 years agoadd osl shader scripts to bpath walker (so making paths absolute or relative applies...
Campbell Barton [Tue, 27 Nov 2012 16:19:52 +0000 (16:19 +0000)]
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.

8 years agoMove to layer: remove the OK button and make it apply immediately like it did
Brecht Van Lommel [Tue, 27 Nov 2012 16:02:15 +0000 (16:02 +0000)]
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.

8 years agoFix cycles OSL shader loading warnings after recent bugfix.
Brecht Van Lommel [Tue, 27 Nov 2012 16:02:12 +0000 (16:02 +0000)]
Fix cycles OSL shader loading warnings after recent bugfix.

8 years agoFix part of #32248: transform with a size limit constraint did not preserve negative...
Brecht Van Lommel [Tue, 27 Nov 2012 16:02:03 +0000 (16:02 +0000)]
Fix part of #32248: transform with a size limit constraint did not preserve negative scale.

8 years agoreplace and exception macro's for static functions and fix some bad assumptions.
Campbell Barton [Tue, 27 Nov 2012 15:26:10 +0000 (15:26 +0000)]
replace and exception macro's for static functions and fix some bad assumptions.

8 years agoCamera Tracking: fixed camera solve operator not updating scene camera
Sergey Sharybin [Tue, 27 Nov 2012 15:10:22 +0000 (15:10 +0000)]
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.

8 years agosplit py->slot & slot->py into their own functions & fixed some mistakes with conversion.
Campbell Barton [Tue, 27 Nov 2012 14:25:38 +0000 (14:25 +0000)]
split py->slot & slot->py into their own functions & fixed some mistakes with conversion.

8 years agomove bmesh operator calling into its own file.
Campbell Barton [Tue, 27 Nov 2012 13:54:34 +0000 (13:54 +0000)]
move bmesh operator calling into its own file.

8 years agoadd empty files (will move bmesh operator calling here)
Campbell Barton [Tue, 27 Nov 2012 13:45:28 +0000 (13:45 +0000)]
add empty files (will move bmesh operator calling here)

8 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

8 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.

8 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.

8 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.

8 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).

8 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.

8 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()

8 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.

8 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.


8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

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

8 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.

8 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

8 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.

8 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

8 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.

8 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.

8 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.

8 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

8 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

8 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.

8 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

8 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.

8 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.

8 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.

8 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.

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

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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).

8 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.

8 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.

8 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.

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

8 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).

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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

8 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.

8 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)

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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]

8 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.

8 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

8 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.