Campbell Barton
7e697846a5
fix for BL_ArmatureConstraint::UpdateTarget(), was getting the pose from the target, not the subtarget.
2013-08-04 16:48:10 +00:00
Campbell Barton
fee152d0ec
fix read outside buffer range KX_ObstacleSimulationTOI_rays::sampleRVO,
...
Was using 3d vectors for 2d operations, passing float[2] to args that use MT_Vector3 was reading the 3rd value of a 2d array
2013-08-04 04:07:29 +00:00
Campbell Barton
c0b73fa1b0
KX_ObstacleSimulation: replace inline math functions with BLI_math functions
2013-08-04 03:47:43 +00:00
Campbell Barton
93f5e2218a
code cleanup: replace strncpy -> BLI_strncpy, skip first 2 chars when making a hash from the object name.
2013-08-04 03:45:30 +00:00
Campbell Barton
704598ef4e
avoid freeing NULL pointer for navmesh BuildVertIndArrays and dont truncate memset arg.
2013-08-04 03:02:35 +00:00
Campbell Barton
5881fe5d67
avoid runtime overflow (1 << 31), for RNA and armature layer UI.
2013-08-04 00:01:41 +00:00
Campbell Barton
dd037a85a0
code cleanup: remove unused define, correct header guard mismatch, add NULL check so DM_to_mesh() can have a NULL object passed (currently not used) and remove redundant NULL check.
2013-08-03 23:58:17 +00:00
Campbell Barton
c3b9ec82d0
fix for strange error with BGE 2d filter code,
...
RAS_2DFilterManager::RenderFilters was casting an int to an unsigned int, then doing a subtraction which would give a negative number.
2013-08-03 23:40:15 +00:00
Mitchell Stokes
e131447582
BGE: Making sure m_drawingmode is initialized in the various RAS_Storage constructors.
2013-08-03 05:02:03 +00:00
Mitchell Stokes
411a49445f
BGE: Making sure m_left, m_right, m_parent, m_radius, and m_client_object are initialized in the SG_Tree constructors.
2013-08-03 05:01:57 +00:00
Mitchell Stokes
e8ca7abb9a
BGE: Making sure m_objType is initialized in the BlendType (VideoTexture) constructor.
2013-08-03 05:01:50 +00:00
Mitchell Stokes
e4d396f300
BGE: Making sure m_line is initialized in the Exception (VideoTexture) constructor.
2013-08-03 05:01:45 +00:00
Mitchell Stokes
ad65bc3315
BGE: Making sure m_buffV, m_buffU, and m_pitchUV are initialized in the FilterYV12 constructor.
2013-08-03 05:01:40 +00:00
Mitchell Stokes
c90a170d57
BGE: Making sure m_offset is initialized in the ImageSourceMix constructor.
2013-08-03 05:01:36 +00:00
Mitchell Stokes
375309f7a9
BGE: Making sure m_mirrorHalfWidth and m_mirrorHalfHeight are initialized in the ImageRender constructor.
2013-08-03 05:01:32 +00:00
Mitchell Stokes
5a042eb734
BGE: Removing some unreachable and unused code in BL_ActionManager.cpp.
2013-08-03 05:01:23 +00:00
Mitchell Stokes
b5016e34ed
BGE: Fixing a memory leak with PyType_Ready_ADD.
2013-08-02 22:23:42 +00:00
Mitchell Stokes
29f8dfd37a
BGE: Adding vsync control. Users can enable vsync, disable vsync, or use adaptive vsync via UI options in the render properties, or by using the new Python method bge.render.setVsync(). Win32 and X11 support are done via EXT_swap_control. Support for using EXT_swap_control on OS X still needs to be added to Ghost.
2013-07-29 22:31:32 +00:00
Mitchell Stokes
2840edba84
BGE: Adding bge.physics as another alias for the PhysicsConstraints module.
2013-07-29 22:20:06 +00:00
Campbell Barton
1448499d70
patch [ #36233 ] Fix Halo and Billboard Normal and Behavior
...
from Vitor Balbio (vitorbalbio)
Fixes billboard flipping (flipped normals and textures too)
2013-07-28 12:03:53 +00:00
Daniel Stokes
4f8fd8c68b
BGE Fix [ #18804 ] Shadow type faces cast onto invisible faces (non-GLSL)
...
Changing the RayHit method to ignore invisible faces
2013-07-25 23:42:20 +00:00
Daniel Stokes
d0f225393c
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.
2013-07-24 05:12:51 +00:00
Daniel Stokes
017d7b5447
BGE fix [ #21488 ] Pumpkin in Gamekit Tutorial flips upside down
...
A reference was being grabbed when a copy was wanted.
2013-07-24 00:32:26 +00:00
Campbell Barton
3ff3d1bc0f
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.
2013-07-23 12:49:30 +00:00
Campbell Barton
fb92835819
bge: de-duplicate cleanup code for empty mesh error case
2013-07-23 10:59:29 +00:00
Mitchell Stokes
33e52d0df4
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.
2013-07-22 22:46:17 +00:00
Campbell Barton
7db1d6556d
code cleanup: add break statements in switch ()'s, (even at the last case).
2013-07-21 08:16:37 +00:00
Daniel Stokes
ef4d599194
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.
2013-07-20 03:15:57 +00:00
Daniel Stokes
ff165fa986
Re fixing BGE bug [ #36223 ] Strange page fault of "Game" actuator
...
Thanks to Campbell for helping me get a better fix put together.
2013-07-20 03:01:50 +00:00
Mitchell Stokes
efad3eb928
Add the Boost include to the right CMakeLists.txt...
2013-07-20 01:17:00 +00:00
Mitchell Stokes
81769b4f58
More build fixes for r58428.
2013-07-20 01:15:36 +00:00
Mitchell Stokes
f84563d213
SCons fix for r58428.
2013-07-20 01:09:16 +00:00
Mitchell Stokes
5645d9f720
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.
2013-07-20 00:51:05 +00:00
Campbell Barton
a2a99bbc17
edit to r58425, BLI_math is available here, better not copy,paste from linearrgb_to_srgb.
...
also remove redundant check in AUD_FFMPEGReader::seek.
2013-07-20 00:35:41 +00:00
Thomas Dinges
e3c9fcd1bb
* Compile fix for overloaded pow() function.
2013-07-20 00:21:16 +00:00
Mitchell Stokes
cf62de6c6d
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.
2013-07-19 23:31:45 +00:00
Daniel Stokes
a07ac7e644
BGE fix [ #35563 ] Object colour setting for objects and fonts not using colour management like materials
2013-07-19 22:54:02 +00:00
Mitchell Stokes
3cd53aff09
Merging from ge_dev to trunk r58091-58422.
2013-07-19 22:37:40 +00:00
Daniel Stokes
23dccfadf0
Bge fix [ #33016 ] Blender crashes when I start the game engine
...
Caused by a bit of a disconnect from the BGE mesh and BMesh.
2013-07-19 22:11:26 +00:00
Mitchell Stokes
103ef7cacb
Merged changes from trunk r58324-58419.
2013-07-19 22:10:11 +00:00
Antony Riakiotakis
dda61cc82f
Fix some definitions for MinGW64
2013-07-19 19:19:15 +00:00
Mitchell Stokes
eb21bdd249
Merging changes from trunk r58091-58323.
2013-07-17 01:40:26 +00:00
Mitchell Stokes
5ba2f4367d
BGE: adding a fix so 2D filters work properly with side-by-side stereoscopic rendering.
2013-07-15 22:44:48 +00:00
Mitchell Stokes
efc4b08094
BGE: Fix for [ #36023 ] "Objects of added scene are lit by lights of current scene" reported by Raf Colson (raco).
...
The material caching now keeps a cache per scene. Before materials from different scenes were sharing the same cache.
2013-07-15 22:35:09 +00:00
Campbell Barton
02ba328ca8
clang/cmake - quiet warnings for external libs and reference moto as a system include.
2013-07-15 08:26:16 +00:00
Mitchell Stokes
19dee5e413
BGE: Adding animation culling. Armature objects will only have their poses updated if their children meshes have not already been culled. Regular object animations will always be updated since they are cheap.
2013-07-09 20:50:15 +00:00
Mitchell Stokes
83e9f32382
BGE: Committing patch #32422 "Debug properties for added objects" by HG1.
...
This patch allows debug properties from objects added to the scene at runtime to be displayed under the Debug Properties in the overhead display.
2013-07-09 20:06:36 +00:00
Mitchell Stokes
f6502a67f2
BGE cleanup: Getting rid of an unused variable warning in GPG_Canvas::Init().
2013-07-09 01:42:13 +00:00
Mitchell Stokes
b73793f636
BGE cleanup: removing some unused code from GPC_Canvas.
2013-07-09 01:34:23 +00:00
Mitchell Stokes
60812e0260
BGE cleanup: Removing the GamePlayer/xembed folder and associated build options. This code was very old and not used. For example web player code, look at Burster.
2013-07-09 01:24:51 +00:00