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
Mitchell Stokes
a6d26cb665
BGE cleanup: GPC_System was an empty class, so I'm dropping it and having GPG_System inherit directly from KX_ISystem.
2013-07-09 01:18:48 +00:00
Mitchell Stokes
7b8453b164
BGE cleanup: removing various unused code and files from GamePlayer/common.
2013-07-09 01:14:52 +00:00
Mitchell Stokes
5b3106b89d
BGE cleanup: removing unused banner code from GPC_Canvas.
2013-07-09 01:04:49 +00:00
Mitchell Stokes
abdb983a46
BGE cleanup: actually remove KX_PhysicsPropertiesobsolete.h from the CMakeLists.txt instead of just commenting it out.
2013-07-09 01:01:25 +00:00
Mitchell Stokes
5bcc621fbf
BGE cleanup: removing an unused KX_PhysicsPropertiesobsolute.h file.
2013-07-09 00:59:57 +00:00
Campbell Barton
418011907c
remove nan copyrights from code added since blender become opensource (copy paste errors), also remove BKE_script.h
2013-07-02 10:14:59 +00:00
Campbell Barton
1f091fd234
add missing gpl headers
2013-07-02 09:47:22 +00:00
Campbell Barton
d665c46a64
fix [ #35884 ] evil bge.types.BL_Shader.setUniformMatrix3()
2013-06-27 07:49:20 +00:00
Campbell Barton
fad1da062d
correct typos in comments.
2013-06-25 22:58:23 +00:00
Mitchell Stokes
64007a94c0
BGE: Fix for [ #30450 ] "F-Curve on bone not working" reported by HG1.
...
Run IPOs for all objects and not just non-armature objects.
2013-06-24 09:37:37 +00:00
Mitchell Stokes
c3d70a9baf
BGE: Fix for [ #34185 ] "billboard scale problem in groups" reported by Tobias Lijsen (blenderhilfe).
...
Use world scaling instead of local scaling when billboarding so we get all inherited scaling.
2013-06-24 08:26:05 +00:00
Mitchell Stokes
dbec3af994
BGE: Fix for [ #35737 ] "Action actuator in property mode don't work with values lower then 1" reported by HG1.
...
IPOs were only set as "initialized" if the current time was greater than 0.0, which is why negative values weren't working.
2013-06-24 04:24:01 +00:00
Daniel Stokes
23c0e0d996
BGE: fix [ #35811 ] Blenderplayer crash on closing if file saved with an actual version.
...
Making sure free_nodesystem() is called before BLO_blendfiledata_free() fixes the problem. free_nodesystem() relies on blendfiledata.
2013-06-24 04:21:17 +00:00
Inês Almeida
5d28a6bb58
Minor code cleanup in 'source/gameengine/GamePlayer/ghost/GPG_Application.cpp'.
...
Removed a function call with no effect and merged two other lines for legibility.
This commit was reviewed by Moguri.
2013-06-22 09:04:33 +00:00
Dalai Felinto
c72653cca0
BGE bugfix/patch "[ #26075 ] game anaglyph colors are inverted" by Juha Maki-Kanto (kanttori)
...
Later I will try to find when this bug was introduced. But it's definitively broken in trunk.
2013-06-22 08:04:02 +00:00
Mitchell Stokes
92aca19eda
BGE: Fix for [ #35815 ] "makeScreenshot() relative path not working in Blenderplayer" reported by HG1.
...
Someone forgot to add relative path expansion (BLI_path_abs) to the Blenderplayer...
2013-06-22 05:27:28 +00:00
Brecht Van Lommel
2df82a2a2b
Code cleanup: fix some vs2012 compiler warnings
2013-06-21 12:33:19 +00:00
Daniel Stokes
d6f38e4e01
BGE: fix [ #32775 ] LibFree crashing
...
Used the engine's RemoveScene (which ultimately calls the converter's RemoveScene) instead of the converter's RemoveScene when the converter free a blend file. This handles the scene removal in a safer fashion and solves the crash described in part 2 of the bug report. Part 1 no longer appears to cause a crash.
2013-06-21 06:56:43 +00:00
Mitchell Stokes
d3fc2bd95b
BGE: Fix for [ #33163 ] "Text Font Bug" reported and fixed by HG1.
...
The embedded player was calling glPolygonMode(GL_FRONT_AND_BACK, GL_FILL) before rendering font objects, but someone forgot to add this to the Blenderplayer.
2013-06-20 22:37:55 +00:00
Daniel Stokes
62c6ee2c55
BGE: fix [ #35447 ] LibLoad Meshes and Scenes causes crash of blender
...
KX_BlenderSceneConverter's destructor freed the contents of several std::vectors without removing those contents from the vectors. Later these vectors are iterated through. Making sure the vectors get cleared solves this problem.
2013-06-20 06:17:28 +00:00
Mitchell Stokes
1e64732d52
BGE: Fix for [ #34781 ] "bge.texture.ImageRender does not show Font object" reported by Monster.
...
This fix is mostly based off of HG1's patch from the bug report, which had ImageRender::Render() call KX_KetsjiEngine::RenderFonts(). However, I have moved RenderFonts() from KX_KetsjiEngine to KX_Scene where all of the other font and rendering functions are. The real fix for this mess would be to not have ImageRender::Render() have so much duplicate code from KX_KetsjiEngine::Render(), but that's a code cleanup problem for another day.
2013-06-20 03:50:02 +00:00