7 years agocorrect problem with limited-dissolve not leaving the selection correctly (caused...
Campbell Barton [Thu, 25 Jul 2013 06:05:44 +0000 (06:05 +0000)]
correct problem with limited-dissolve not leaving the selection correctly (caused by BM_elem_attrs_copy no longer dealing with selection)

7 years agoadd api function BLI_path_append to add to a path (and ensure a seperator), replaces...
Campbell Barton [Wed, 24 Jul 2013 21:25:06 +0000 (21:25 +0000)]
add api function BLI_path_append to add to a path (and ensure a seperator), replaces BLI_join_dirfile when the dir and the destimation were the same.

7 years agofix/workaround [#36269] Crash upon right click on menu and left click on item
Campbell Barton [Wed, 24 Jul 2013 20:53:24 +0000 (20:53 +0000)]
fix/workaround [#36269] Crash upon right click on menu and left click on item

7 years agointernal change for ui_mouse_motion_towards_*** use,
Campbell Barton [Wed, 24 Jul 2013 20:50:30 +0000 (20:50 +0000)]
internal change for ui_mouse_motion_towards_*** use,
only run these checks for buttons using the UI_BLOCK_MOVEMOUSE_QUIT flag.
no functional change but makes debugging easier and was calculating mouse motion in relation to some popups for no reason.

7 years agodyn-topo: maintain materials for new faces.
Campbell Barton [Wed, 24 Jul 2013 19:58:16 +0000 (19:58 +0000)]
dyn-topo: maintain materials for new faces.
also minor optimization for BM_edge_in_face(), check edges radial loops rather then the faces edges
since normally there are 0-2 faces attached to an edge compared to 3+ edges in a face.

7 years agointernal bmesh api change: BM_elem_attrs_copy() no longer copies the selection flag.
Campbell Barton [Wed, 24 Jul 2013 19:31:58 +0000 (19:31 +0000)]
internal bmesh api change: BM_elem_attrs_copy() no longer copies the selection flag.
this was slowing down modifiers since the selection flags would be copied and flushed to connected geometry.

7 years agocode cleanup: use iterator macros, and replace BM_LOOPS_OF_FACE with direct loop...
Campbell Barton [Wed, 24 Jul 2013 18:38:55 +0000 (18:38 +0000)]
code cleanup: use iterator macros, and replace BM_LOOPS_OF_FACE with direct loop access when converting a bmesh to a mesh.

7 years agocurve only supported radius smoothing, add smooth for tilt and weight.
Campbell Barton [Wed, 24 Jul 2013 14:30:45 +0000 (14:30 +0000)]
curve only supported radius smoothing, add smooth for tilt and weight.

7 years ago- add individual origin support for curves and improve the orientation calculations...
Campbell Barton [Wed, 24 Jul 2013 13:56:36 +0000 (13:56 +0000)]
- add individual origin support for curves and improve the orientation calculations for curve handles,
- add support for using the active point's orientation.
- add support for creating new custom orientations from curves.
- fix error where only the last selected curve handle was taken into account for manipulator orientations.

7 years agosequencer: replace warning message with assert, was printing when copying masks and...
Campbell Barton [Wed, 24 Jul 2013 07:11:00 +0000 (07:11 +0000)]
sequencer: replace warning message with assert, was printing when copying masks and movieclips but went by unnoticed.

7 years agofix [#36262] Paste strip with video or sound content from another file crashes Blender
Campbell Barton [Wed, 24 Jul 2013 06:51:04 +0000 (06:51 +0000)]
fix [#36262] Paste strip with video or sound content from another file crashes Blender

existing code was very stupid.

- all ID pointers for clipboard strips are handled uniformly.
- clipboard stores a duplicate ID pointer which are restored on paste.
- restoring pointers...
-- use ID's that are still in the database (copy&paste within the same file).
-- fallback to name lookup.
-- fallback to loading them from the original filepath (movie-clip and sound only).

also fix bug pasting where initialing the sound wasn't done if there was no frame-offset.

7 years agoBGE Fix [#29575] Object not drawn in game engine
Daniel Stokes [Wed, 24 Jul 2013 05:12:51 +0000 (05:12 +0000)]
BGE Fix [#29575] Object not drawn in game engine

Implementing a GetBlenderImage for KX_BlenderMaterial so that modifiers draw correctly in multitexture mode. The preexisting limitation of 1 texture per material on objects with modifiers in multitexture mode still exists.

7 years agopasting strips in the sequencer didn't check if they overlap existing strips.
Campbell Barton [Wed, 24 Jul 2013 05:01:22 +0000 (05:01 +0000)]
pasting strips in the sequencer didn't check if they overlap existing strips.

7 years agoBGE fix [#21488] Pumpkin in Gamekit Tutorial flips upside down
Daniel Stokes [Wed, 24 Jul 2013 00:32:26 +0000 (00:32 +0000)]
BGE fix [#21488] Pumpkin in Gamekit Tutorial flips upside down

A reference was being grabbed when a copy was wanted.

7 years agoremove use_relative option from simple deform,
Campbell Barton [Tue, 23 Jul 2013 19:31:49 +0000 (19:31 +0000)]
remove use_relative option from simple deform,
all modifiers should be using object transformations relatively.

7 years agofix [#36256] Checker Deselect, failed with de-selected active face.
Campbell Barton [Tue, 23 Jul 2013 18:49:44 +0000 (18:49 +0000)]
fix [#36256] Checker Deselect, failed with de-selected active face.

7 years agoavoid calling context functions when direct access is possible.
Campbell Barton [Tue, 23 Jul 2013 18:30:06 +0000 (18:30 +0000)]
avoid calling context functions when direct access is possible.

7 years agoFix [#36259] Select linked flat faces with Shift+Ctrl+Alt+F does not work in ver...
Bastien Montagne [Tue, 23 Jul 2013 18:03:40 +0000 (18:03 +0000)]
Fix [#36259] Select linked flat faces with Shift+Ctrl+Alt+F does not work in ver. 2.68

Code was cleaning BM_ELEM_TAG flag of verts, when it actually uses the one of faces...

7 years agoCycles / CMJ:
Thomas Dinges [Tue, 23 Jul 2013 16:23:30 +0000 (16:23 +0000)]
Cycles / CMJ:
* path_rng_2D() was missing an else branch for the sobol case after fix in r57383.

7 years ago* Compile fix for r58542, on Windows "subdir" was unknown.
Thomas Dinges [Tue, 23 Jul 2013 16:04:49 +0000 (16:04 +0000)]
* Compile fix for r58542, on Windows "subdir" was unknown.

7 years agocorrect own error in recent edits to editderivedmesh
Campbell Barton [Tue, 23 Jul 2013 15:05:33 +0000 (15:05 +0000)]
correct own error in recent edits to editderivedmesh

7 years agouse binary prefix for file sizes (old todo).
Campbell Barton [Tue, 23 Jul 2013 15:01:59 +0000 (15:01 +0000)]
use binary prefix for file sizes (old todo).

7 years agolet the enter key active text buttons and the unlink button
Campbell Barton [Tue, 23 Jul 2013 14:55:47 +0000 (14:55 +0000)]
let the enter key active text buttons and the unlink button

7 years agocode cleanup: remove deprecated bevel code (unused since 2.64)
Campbell Barton [Tue, 23 Jul 2013 14:28:19 +0000 (14:28 +0000)]
code cleanup: remove deprecated bevel code (unused since 2.64)

7 years agofix for crash in track_markers_freejob (use freed memory)
Campbell Barton [Tue, 23 Jul 2013 14:22:47 +0000 (14:22 +0000)]
fix for crash in track_markers_freejob (use freed memory)

7 years agofix for crash when unlinking a scene from the renderlayers, also no need for PROP_ID_...
Campbell Barton [Tue, 23 Jul 2013 14:09:53 +0000 (14:09 +0000)]
fix for crash when unlinking a scene from the renderlayers, also no need for PROP_ID_SELF_CHECK here.

7 years agoreplace use of strcat() where the string offset is known.
Campbell Barton [Tue, 23 Jul 2013 12:49:30 +0000 (12:49 +0000)]
replace use of strcat() where the string offset is known.
also correct bad logic with converting a textblock to 3d-text, bytes-vs-number of chars wasn't handled right.

7 years agocode cleanup: remove unused material/texture naming functions.
Campbell Barton [Tue, 23 Jul 2013 12:45:28 +0000 (12:45 +0000)]
code cleanup: remove unused material/texture naming functions.

7 years agocode cleanup: remove dead code, view3d panel was building a menu string and not using it.
Campbell Barton [Tue, 23 Jul 2013 12:18:12 +0000 (12:18 +0000)]
code cleanup: remove dead code, view3d panel was building a menu string and not using it.

7 years agoFix #36225, spacing was halved and set to zero for texture paint brushes that had...
Antony Riakiotakis [Tue, 23 Jul 2013 11:13:39 +0000 (11:13 +0000)]
Fix #36225, spacing was halved and set to zero for texture paint brushes that had spacing of 1. Related to own changes to maintain spacing consistent between 2.67-2.66.

7 years agobge: de-duplicate cleanup code for empty mesh error case
Campbell Barton [Tue, 23 Jul 2013 10:59:29 +0000 (10:59 +0000)]
bge: de-duplicate cleanup code for empty mesh error case

7 years agoprepare for 'a' bugfix release, splash and version bump.
Campbell Barton [Tue, 23 Jul 2013 08:10:46 +0000 (08:10 +0000)]
prepare for 'a' bugfix release, splash and version bump.

7 years agoreplave isfinite with finite for msvc
Campbell Barton [Tue, 23 Jul 2013 07:40:07 +0000 (07:40 +0000)]
replave isfinite with finite for msvc

7 years agoMinor UI typo fix... ;)
Bastien Montagne [Tue, 23 Jul 2013 06:58:05 +0000 (06:58 +0000)]
Minor UI typo fix... ;)

7 years agoBGE fix [#35472] Sun variance shadows does not work in game engine
Daniel Stokes [Tue, 23 Jul 2013 00:52:49 +0000 (00:52 +0000)]
BGE fix [#35472] Sun variance shadows does not work in game engine

The game engine had depth testing enabled when blurring the shadows which caused the blurring to not work properly.

7 years agofix own regression, OpenGL render with 'New Window' display-mode was broken
Campbell Barton [Mon, 22 Jul 2013 23:44:46 +0000 (23:44 +0000)]
fix own regression, OpenGL render with 'New Window' display-mode was broken
need to re-assign after opening a new window.

7 years agouse BLI_bitmap for crazyspace vertex tagging.
Campbell Barton [Mon, 22 Jul 2013 23:33:53 +0000 (23:33 +0000)]
use BLI_bitmap for crazyspace vertex tagging.

7 years agoremove the pointer from BLI_bitmap's typedef,
Campbell Barton [Mon, 22 Jul 2013 23:20:48 +0000 (23:20 +0000)]
remove the pointer from BLI_bitmap's typedef,
hides that an arg passed is really an array which may be modified by other functions.

7 years agooptimization: only calculate the normals for passing into derivedMesh foreachMappedVe...
Campbell Barton [Mon, 22 Jul 2013 22:59:47 +0000 (22:59 +0000)]
optimization: only calculate the normals for passing into derivedMesh foreachMappedVert/foreachMappedFaceCenter when needed,
this means in editmode with wire draw, face and vertex normals don't have to be calculated at all.

in most cases the normals are not used so add a flag that makes calculating them only for functions that need them.
also fix face normal calculation for CDDM, was using quad calculation for ngons too.

7 years agoBGE: Fix for [#34398] "«illegal operator» in Expression Controller" reported by Andre...
Mitchell Stokes [Mon, 22 Jul 2013 22:46:17 +0000 (22:46 +0000)]
BGE: Fix for [#34398] "«illegal operator» in Expression Controller" reported by Andrey Kashlak (andreymal)

The expressions system now supports the not operator on ints and floats.

7 years agohidden-wire draw option: always use the cage when masking out faces otherwise modifie...
Campbell Barton [Mon, 22 Jul 2013 21:45:01 +0000 (21:45 +0000)]
hidden-wire draw option: always use the cage when masking out faces otherwise modifiers give odd results.

7 years agofix/workaround for crash in ocean modifier when size is zero (causes invalid array...
Campbell Barton [Mon, 22 Jul 2013 21:02:45 +0000 (21:02 +0000)]
fix/workaround for crash in ocean modifier when size is zero (causes invalid array index/lookups).

7 years agofix [#36247] Modifier Ocean (Geometry in Displace)- Subdivision Surface
Campbell Barton [Mon, 22 Jul 2013 20:53:52 +0000 (20:53 +0000)]
fix [#36247] Modifier Ocean (Geometry in Displace)- Subdivision Surface
regression in 2.68

7 years agofix [#36248] Crash using factor input on color mix node.
Campbell Barton [Mon, 22 Jul 2013 19:59:07 +0000 (19:59 +0000)]
fix [#36248] Crash using factor input on color mix node.

7 years agoAllow creation of mask nodes in compositor with drag&drop of mask datablocks
Sv. Lockal [Mon, 22 Jul 2013 19:24:39 +0000 (19:24 +0000)]
Allow creation of mask nodes in compositor with drag&drop of mask datablocks

Also remove superfluous "deselect all" operation in drag&drop for images

7 years agofix regression in 2.68 [#36240] Painting Undo Enable Face paint Crash
Campbell Barton [Mon, 22 Jul 2013 18:19:02 +0000 (18:19 +0000)]
fix regression in 2.68 [#36240] Painting Undo Enable Face paint Crash

7 years agooptimization:
Campbell Barton [Mon, 22 Jul 2013 18:01:27 +0000 (18:01 +0000)]
- halve the number of allocs in layerInterp_mdeformvert list creation.
- use direct loop access in emDM_copyLoopArray

7 years agooptimization: lazy initialize EditDerivedBMesh members vertexNos, polyNos.
Campbell Barton [Mon, 22 Jul 2013 16:49:37 +0000 (16:49 +0000)]
optimization: lazy initialize EditDerivedBMesh members vertexNos, polyNos.

also add polyCos array which cache's face centers, gives overall ~20% speedup to drawing on a high-poly mesh in face-editmode.

7 years agocloth: Fix [#36224] Cloth Simulation Doesn't Work on Rearranging Modifiers
Sergej Reich [Mon, 22 Jul 2013 15:35:29 +0000 (15:35 +0000)]
cloth: Fix [#36224] Cloth Simulation Doesn't Work on Rearranging Modifiers

Don't return imediately when simulation has changed.
It's not needed and prevented proper initialization on startframe when
simulation changed.

7 years agoold todo, rotate around individual origins now supports connected face/edge islands.
Campbell Barton [Mon, 22 Jul 2013 14:50:38 +0000 (14:50 +0000)]
old todo, rotate around individual origins now supports connected face/edge islands.
previously this gave very odd/annoying results, see bug reports [#36134], [#35419]

7 years agotransform was flushing the selection (inline), now skip this and use the selection...
Campbell Barton [Mon, 22 Jul 2013 10:44:24 +0000 (10:44 +0000)]
transform was flushing the selection (inline), now skip this and use the selection as-is.
flush the selection on entering editmode instead (since the selection mode can be changed with another mesh).
is other tools leave the selection incorrectly flushed, those will need to be fixed so transform works as expected.

7 years agoShow full image node detail buttons in the sidebar. The image nodes in compositor...
Lukas Toenne [Mon, 22 Jul 2013 08:56:51 +0000 (08:56 +0000)]
Show full image node detail buttons in the sidebar. The image nodes in compositor, cycles and texture nodes were showing a very reduced version of the image data block UI, based on the idea of fitting it
into the confined space of a node. However, in the side bar panel there is no reason to limit the buttons. In fact it is very helpful to have this UI available, otherwise users have to have an image
editor or (BI) texture buttons window next to the node editor to access these image details.

7 years agoadd support for BM_mesh_calc_face_groups to use vertex connectivity (not currently...
Campbell Barton [Mon, 22 Jul 2013 08:12:50 +0000 (08:12 +0000)]
add support for BM_mesh_calc_face_groups to use vertex connectivity (not currently used yet)

7 years agoFix crash in adding a new mask point after subdividing an inactive spline
Sv. Lockal [Sun, 21 Jul 2013 17:59:36 +0000 (17:59 +0000)]
Fix crash in adding a new mask point after subdividing an inactive spline

add_vertex_extrude relies on active spline for containing an active point

7 years ago_MSV_VER should be _MSC_VER
Jason Wilkins [Sun, 21 Jul 2013 17:16:04 +0000 (17:16 +0000)]
_MSV_VER should be _MSC_VER

7 years agocode cleanup: de-duplicate BLI_ghashIterator_new/init and disable unused text undo...
Campbell Barton [Sun, 21 Jul 2013 17:05:41 +0000 (17:05 +0000)]
code cleanup: de-duplicate BLI_ghashIterator_new/init and disable unused text undo print function.

7 years agocorrect switch statement: image_listener NC_GEOM was falling through to NC_OBJECT
Campbell Barton [Sun, 21 Jul 2013 17:04:54 +0000 (17:04 +0000)]
correct switch statement: image_listener NC_GEOM was falling through to NC_OBJECT

7 years agosnap to cursor (offset option) added for UV's too.
Campbell Barton [Sun, 21 Jul 2013 16:45:38 +0000 (16:45 +0000)]
snap to cursor (offset option) added for UV's too.

7 years agocode cleanup: compiler warnings
Campbell Barton [Sun, 21 Jul 2013 16:40:34 +0000 (16:40 +0000)]
code cleanup: compiler warnings

7 years agoFixes for recent Wlimit stuff, which makes strict gcc freak out
Sergey Sharybin [Sun, 21 Jul 2013 14:26:27 +0000 (14:26 +0000)]
Fixes for recent Wlimit stuff, which makes strict gcc freak out

7 years agoCode cleanup / Cycles:
Thomas Dinges [Sun, 21 Jul 2013 10:30:22 +0000 (10:30 +0000)]
Code cleanup / Cycles:
* Remove useless else branch, after recent changes.

7 years agousing shift +/- to dolly with a locked camera now works.
Campbell Barton [Sun, 21 Jul 2013 09:59:08 +0000 (09:59 +0000)]
using shift +/- to dolly with a locked camera now works.

7 years agofix for unintended fall-through in switch statement, also reduce undo_pos increments...
Campbell Barton [Sun, 21 Jul 2013 08:34:02 +0000 (08:34 +0000)]
fix for unintended fall-through in switch statement, also reduce  undo_pos increments in text editor.

7 years agostyle cleanup: depsgraph.c, committing separate since 2 gsoc branches modify.
Campbell Barton [Sun, 21 Jul 2013 08:23:35 +0000 (08:23 +0000)]
style cleanup: depsgraph.c, committing separate since 2 gsoc branches modify.

7 years agocode cleanup: add break statements in switch ()'s, (even at the last case).
Campbell Barton [Sun, 21 Jul 2013 08:16:37 +0000 (08:16 +0000)]
code cleanup: add break statements in switch ()'s, (even at the last case).

7 years agofix [#36234] Dynamic Topology undo crash
Campbell Barton [Sun, 21 Jul 2013 03:59:24 +0000 (03:59 +0000)]
fix [#36234] Dynamic Topology undo crash

7 years agoadd new snap option: 'Selection to Cursor (Offset)',
Campbell Barton [Sat, 20 Jul 2013 17:12:33 +0000 (17:12 +0000)]
add new snap option: 'Selection to Cursor (Offset)',
rather then moving everything into the cursor location, the current selection centers around the cursor, maintaining their relative distances.
works for mesh, object, pose bones etc.

7 years agofix for bug snapping multiple pose bones to the cursor (it would apply pose transform...
Campbell Barton [Sat, 20 Jul 2013 15:43:48 +0000 (15:43 +0000)]
fix for bug snapping multiple pose bones to the cursor (it would apply pose transformation multiple times),
also named cursor vars more clearly.

7 years agomisc edits
Campbell Barton [Sat, 20 Jul 2013 15:07:57 +0000 (15:07 +0000)]
misc edits
- fix for missing None check with recent 'Hidden Wire' draw option.
- avoid int overflow with mesh selection.
- remove ';' outside of functions.

7 years agoFix descriptions for mask selection operators and use less ambiguous "letter-spacing...
Sv. Lockal [Sat, 20 Jul 2013 12:24:53 +0000 (12:24 +0000)]
Fix descriptions for mask selection operators and use less ambiguous "letter-spacing" term

7 years agoSelect more/less tool for mask splines
Sv. Lockal [Sat, 20 Jul 2013 10:24:16 +0000 (10:24 +0000)]
Select more/less tool for mask splines

7 years agoCycles / Sampling Presets:
Thomas Dinges [Sat, 20 Jul 2013 09:29:25 +0000 (09:29 +0000)]
Cycles / Sampling Presets:
* Values were a bit too small for the Progressive integrator, now we use 12 and 24 (sqared).

7 years agohidden wireframe option for mesh editmode, important for retopology mode (can be...
Campbell Barton [Sat, 20 Jul 2013 03:51:49 +0000 (03:51 +0000)]
hidden wireframe option for mesh editmode, important for retopology mode (can be used with xray).

7 years agoChanging the python error when accessing SCA_JoystickSensor.axisSingle in the wrong...
Daniel Stokes [Sat, 20 Jul 2013 03:15:57 +0000 (03:15 +0000)]
Changing the python error when accessing SCA_JoystickSensor.axisSingle in the wrong mode to an AttributeError instead of a TypeError as this more accurately reflects the problem.

7 years agoRe fixing BGE bug [#36223] Strange page fault of "Game" actuator
Daniel Stokes [Sat, 20 Jul 2013 03:01:50 +0000 (03:01 +0000)]
Re fixing BGE bug [#36223] Strange page fault of "Game" actuator

Thanks to Campbell for helping me get a better fix put together.

7 years agoFix for docstring inconsistency in Stroke.stroke_vertices_end().
Tamito Kajiyama [Sat, 20 Jul 2013 01:45:18 +0000 (01:45 +0000)]
Fix for docstring inconsistency in Stroke.stroke_vertices_end().

7 years agoAdd the Boost include to the right CMakeLists.txt...
Mitchell Stokes [Sat, 20 Jul 2013 01:17:00 +0000 (01:17 +0000)]
Add the Boost include to the right CMakeLists.txt...

7 years agoMore build fixes for r58428.
Mitchell Stokes [Sat, 20 Jul 2013 01:15:36 +0000 (01:15 +0000)]
More build fixes for r58428.

7 years agofix own bad regression/bug, removing vertex colors crashes [#36227]
Campbell Barton [Sat, 20 Jul 2013 01:15:12 +0000 (01:15 +0000)]
fix own bad regression/bug, removing vertex colors crashes [#36227]

7 years agoSCons fix for r58428.
Mitchell Stokes [Sat, 20 Jul 2013 01:09:16 +0000 (01:09 +0000)]
SCons fix for r58428.

7 years agoRemoving source files from source/gameengine/GamePlayer/common/SConscript that were...
Mitchell Stokes [Sat, 20 Jul 2013 00:51:05 +0000 (00:51 +0000)]
Removing source files from source/gameengine/GamePlayer/common/SConscript that were removed in an earlier commit. This should allow SCons to build the game engine again.

7 years agoCycles / CPU Rendering:
Thomas Dinges [Sat, 20 Jul 2013 00:40:03 +0000 (00:40 +0000)]
Cycles / CPU Rendering:
* "Auto Detect" now again uses the umber of cores, instead number of cores + 1.

This was added before we had Tile rendering and benchmarks on several systems showed that there is no gain with this now. There might be some slight difference (0.5% or so) slower/faster depending on the scene, but this is negligible.

7 years agoedit to r58425, BLI_math is available here, better not copy,paste from linearrgb_to_srgb.
Campbell Barton [Sat, 20 Jul 2013 00:35:41 +0000 (00:35 +0000)]
edit to r58425, BLI_math is available here, better not copy,paste from linearrgb_to_srgb.
also remove redundant check in AUD_FFMPEGReader::seek.

7 years ago* Compile fix for overloaded pow() function.
Thomas Dinges [Sat, 20 Jul 2013 00:21:16 +0000 (00:21 +0000)]
* Compile fix for overloaded pow() function.

7 years agorevert r58419. caller should do NULL check here.
Campbell Barton [Sat, 20 Jul 2013 00:15:01 +0000 (00:15 +0000)]
revert r58419. caller should do NULL check here.

7 years agoCycles / Sampling Presets:
Thomas Dinges [Fri, 19 Jul 2013 23:59:40 +0000 (23:59 +0000)]
Cycles / Sampling Presets:
* Add Presets for Sampling. This comes with a simple Preview and Final preset, but as this is varying a lot depending on the scene, they should just be a starting point. The user can add own presets here.

* Some UI layout changes to match the settings a bit better.

7 years agoBGE: Partial fix for [#36151] "Distance model not carrying over to standalone" report...
Mitchell Stokes [Fri, 19 Jul 2013 23:31:45 +0000 (23:31 +0000)]
BGE: Partial fix for [#36151] "Distance model not carrying over to standalone" reported by Florian Schneider (drjaska).

The Blenderplayer wasn't initializing 3D audio settings from the scene settings like the embedded player was.

7 years agoBGE fix [#35195] Shadow Only lamps only work with Specular enabled
Daniel Stokes [Fri, 19 Jul 2013 23:00:42 +0000 (23:00 +0000)]
BGE fix [#35195] Shadow Only lamps only work with Specular enabled

The way we do shadow only doesn't work well with colored shadows, though it does work if you apply enough light to the shadow.

7 years agoCode cleanup / Cycles:
Thomas Dinges [Fri, 19 Jul 2013 22:56:54 +0000 (22:56 +0000)]
Code cleanup / Cycles:
* Use USHRT_MAX rather than manual value, suggested by Campbell.

7 years agoBGE fix [#35563] Object colour setting for objects and fonts not using colour managem...
Daniel Stokes [Fri, 19 Jul 2013 22:54:02 +0000 (22:54 +0000)]
BGE fix [#35563] Object colour setting for objects and fonts not using colour management like materials

7 years agoCycles / Sampling UI:
Thomas Dinges [Fri, 19 Jul 2013 22:51:48 +0000 (22:51 +0000)]
Cycles / Sampling UI:
* Add a "Squared Samples" option to the UI, to use squared values for ease of use. This can make it easier from an artist point of view, to weak settings.

With this enabled, all Sample values will be squared. So 10 Samples become 100 Samples.
For the Non-Progressive integrator: 4 AA Samples * 5 Diffuse Samples would become 16 AA Samples * 25 Diffuse = 400 in total.

Patch by Matt Heimlich, with some minor edits by myself. Thanks!

7 years agoMerging from ge_dev to trunk r58091-58422.
Mitchell Stokes [Fri, 19 Jul 2013 22:37:40 +0000 (22:37 +0000)]
Merging from ge_dev to trunk r58091-58422.

7 years agoBge fix [#33016] Blender crashes when I start the game engine
Daniel Stokes [Fri, 19 Jul 2013 22:11:26 +0000 (22:11 +0000)]
Bge fix [#33016] Blender crashes when I start the game engine

Caused by a bit of a disconnect from the BGE mesh and BMesh.

7 years agoMerged changes from trunk r58324-58419. ge_dev
Mitchell Stokes [Fri, 19 Jul 2013 22:10:11 +0000 (22:10 +0000)]
Merged changes from trunk r58324-58419.

7 years agoCleaning up some warnings that occur when an invalid navmesh is generated.
Daniel Stokes [Fri, 19 Jul 2013 22:07:38 +0000 (22:07 +0000)]
Cleaning up some warnings that occur when an invalid navmesh is generated.

7 years agoBGE fix [#36223] Strange page fault of "Game" actuator
Daniel Stokes [Fri, 19 Jul 2013 22:04:06 +0000 (22:04 +0000)]
BGE fix [#36223] Strange page fault of "Game" actuator

Adding a NULL check to BLI_ghash_lookup

7 years agoAdd Tamil characters to our i18n font (from samyak-tamil).
Bastien Montagne [Fri, 19 Jul 2013 20:28:46 +0000 (20:28 +0000)]
Add Tamil characters to our i18n font (from samyak-tamil).

7 years agoFix some definitions for MinGW64
Antony Riakiotakis [Fri, 19 Jul 2013 19:19:15 +0000 (19:19 +0000)]
Fix some definitions for MinGW64

7 years agostyle cleanup: braces/indentation
Campbell Barton [Fri, 19 Jul 2013 16:44:17 +0000 (16:44 +0000)]
style cleanup: braces/indentation

7 years agostyle cleanup: switch statements, include break statements within braces & indent.
Campbell Barton [Fri, 19 Jul 2013 15:23:42 +0000 (15:23 +0000)]
style cleanup: switch statements, include break statements within braces & indent.
also indent case's within the switch (we already did both of these almost everywhere)