Age | Commit message (Collapse) | Author |
|
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.
|
|
Mike Pan (mpan3).
The OSKEY was never added to the game engine, so it didn't recognize it.
|
|
by Josiah Lane (solarlune).
Adding scenes now uses a vector instead of a set to maintain order. This fix is partly based off of patch #32297 by Pavel Sadikov (sigmat).
|
|
bge.logic.getProfileInfo() returns information even if Show Framerate and Profile is not enabled.
|
|
results.
|
|
|
|
remove MEM_sys_types.h which was a duplicate.
|
|
|
|
* Removing KX_Scene::RemoveAnimatedObject() since KX_Scene::NewRemoveObject() is already handling this.
* Don't create a new BL_ActionManager when replicating an object. Just set m_actionManager to NULL and let KX_GameObject::GetActionManager() allocate a new BL_ActionManager when one is needed.
* Use KX_GameObject::GetScene() instead of KX_GetActiveScene() in KX_GameObject::GetActionManager() to make sure we're using the object's scene instead of one where Python might currently be running from. This could avoid potential issues with playing actions for objects in other scenes.
|
|
No need to cache this, creating it is quick.
|
|
reported by Josiah Lane (solarlune).
BL_BlenderShader was only sending over proper UV data if the current drawing mode was KX_TEXTURED. Now it also checks for (and sends data for) alpha shadows.
|
|
original patch by me, with contribution from HG1 and Florian Völker
bug introduced in rev. 40113
|
|
object which is out of the float range.
also avoid raising exceptions by ConvertPythonToValue when they will be ignored.
|
|
poly.getMaterialIndex() and poly vertex indexes
revert r22906 (own old commit, was incorrectly trying to make vertex indices absolute)
|
|
|
|
and bge.render.getMipmapping().
|
|
fulscreening games via Python.
|
|
now, with a 'resize' routine for the engine we can/should also recreate some
buffers that are created only at init time (e.g., 2d filters, dome fbos, ...).
This bug was always present in Blender (since 2.49 at least).
Bugfix supported by NF-UBC Nereus Program as part of the development
of OceanViz/NereusViz
|
|
|
|
* Also fixed some more cases of "more then" -> "more than".
|
|
which was causing a sync event between the gpu and cpu. glReadPixels was always returning 0, so I removed it and set depth to be a constant 0.
|
|
|
|
reported by Alain Ducharme. Per material uniforms and per object uniforms are now better separated.
|
|
|
|
id's
|
|
also rename mesh_getVertexCos() --> BKE_mesh_vertexCos_get() to match curve function.
|
|
- remove unused defines.
- quiet some shadow warnings.
- bevel, ifdef out some asserts that are too common.
- style
|
|
|
|
|
|
|
|
a Python dictionary with the same information as the on screen profiler.
|
|
|
|
(char *) casts that aren't needed now we're on Python3.3
|
|
not to confuse things.
|
|
from Lawrence D'Oliveiro (ldo)
More use of bool type, necessitating adding inclusion of BLI_utildefines.h, or moving it up in the inclusion order if it was already included, in various places
- storage.c: make some variables only used in bli_builddir local to that
- storage.c: BLI_file_descriptor_size should allow 0 as a valid file descriptor
- path_util.c: make pointers to non-reentrant storage returned from folder routines const, necessitating making variables holding these returned pointers const elsewhere as well
- path_util.c: BLI_string_to_utf8 closes iconv context in case of conversion error
- blf_lang.c: fill_locales routine now has its own "languages" local variable to construct paths (was stealing internal storage belonging to BLI_get_folder before)
|
|
mingw.
also compiling without bullet needed a stub added.
|
|
changes
to support more than 2 UV maps. This code indirectly depended on the order of
OpenGL attribute ID's assigned by the OpenGL driver being the same as the
attributes being declared in the GLSL shader code, which is not always the case.
|
|
|
|
to include a few more that gcc is using too.
|
|
Object->totcol can give a number higher than the number of materials, so I've added some NULL checks.
|
|
conversion: getImageFromMaterial() --> getMTexFromMaterial()
|
|
(BL_Action). It was kind of a fluke that they worked before.
|
|
out the other channels. Problem reported by Dalai via IRC.
|
|
actions" reported by Dalai. Now the multiple layers should also be working. When doing fcurve/IPO animations, the controllers are cleared as soon as the action is done and must be setup again every time the action is played.
|
|
which can potentially cause problems with multiple scenes.
|
|
actions" reported by Dalai. The test file now works if all of the actions are using the same layer, but multiple layers can still cause problems. However, I am unsure as to what the "correct" behavior should be with multiple layers. They should probably blend somehow...
|
|
reported by Angus Hollands (agoose77). If the walk directions canceled each other out, the actuator would try to normalize a zero vector, which caused the error.
|
|
MT_Vectors. The PHY__Vectors didn't offer anything (not even any real abstraction) and they required annoying MT_Vector <-> PHY_Vector conversions all over the place. No functional changes.
|
|
object" reported by Josiah Lane (solarlune). The raycasting functions were using the active scene instead of the object's scene.
|
|
on Windows, it still doesn't play but it doesn't crash at least.
|