Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-03-08style cleanup - remove unneeded ';'sCampbell Barton
2012-03-07change camera zoom from short to float.Campbell Barton
2012-03-04style cleanup - comment spelling + translate some dutch.Campbell Barton
2012-03-03style cleanup - use aligned * prefixed blocks for descriptive comments (was ↵Campbell Barton
already used a lot and part of proposed style guide).
2012-03-03style cleanup - spelling corrections & update some incorrect comments.Campbell Barton
2012-03-03option for the Armature Actuator to change the influence of a bone constraint.Dalai Felinto
Also adds DampedTrackTo to the list of supported constraints in the BGE Test file: http://www.pasteall.org/blend/11715 Patch developed as part of a project to NF-UBC Nereus Program. Development time 'sponsored' by the project. www.nereusprogram.org
2012-03-02style cleanupCampbell Barton
- spelling - turns out we had tessellation spelt wrong all over. - use \directive for doxy (not @directive) - remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
2012-03-01Spelling CleanupCampbell Barton
2012-02-29Code Cleanup: remove non existing function declarations.Campbell Barton
added some missing functions too - which are not used yep but should be there for api completeness. * CDDM_set_mloop * CDDM_set_mpoly * BLI_mempool_count
2012-02-28code cleanup: use float vector size in function definitions, and const's ↵Campbell Barton
where the values are unchanged.
2012-02-27style cleanup (mostly whitespace)Campbell Barton
2012-02-27Fixing a crash when converting physics objects in the Game Engine.Daniel Stokes
2012-02-25style cleanup, use { on newline after function definition.Campbell Barton
spelling 'impliment' -> 'implement'
2012-02-24Fix for #30336: Couldn't playback from Python without having played back via ↵Joerg Mueller
logic bricks once. Thanks Colin Nickerson for reporting.
2012-02-23fix for meshes not showing up in the game engine. Campbell Barton
2012-02-23use __ prefix on header guards to avoid mixing up defines with api functions ↵Campbell Barton
/ classes.
2012-02-23BGE is compilable by MSVC againSergey Sharybin
Compilation error was mostly caused by trying to use namespace std before it was actually defined (e.g. before any include of stl header). It's not actually good idea to use namespaces in header files -- it's really easy to run into namespace conflicts and so. Resolved by not using "using namespace" in header files and using full quality accessing to stl collections (e.g. std::vector).
2012-02-23code cleanup: dont set the namespace in STR_String.h - 'using namespace ↵Campbell Barton
std', since this is included in many places.
2012-02-20minor edits to have the game engine and player building.Campbell Barton
2012-02-19svn merge ^/trunk/blender -r44213:44235 --- fixes bmesh shading bug [#30125]Campbell Barton
2012-02-18BGE bug #30173: ImageRender not working when initialized on frame 1. This ↵Benoit Bolsee
was because the canvas display area was initialized on render frame 1, which happens after logic frame 1. Fixed in blender and player by initializing the area on canvas creation.
2012-02-15svn merge ^/trunk/blender -r44076:44118Campbell Barton
2012-02-14font objects in blenderplayer fail when object with alpha is renderedDalai Felinto
the embed bge has its own DisableForText() routine which prepares the GL flags for the text render. For some reason blenderplayer is taking a slim approach and going straight for the rendering. This routine helps to address this bug/case (non reported, foundin my own project files). If need arises we should move this to its own routine incorporating the other GL tests the embed bge performs.
2012-02-14Fixing up some buggy cleanup code in BL_ShapeDeformer. This code was causing ↵Mitchell Stokes
crashes and corrupting shape keys. This commit fixes the following bugs: [#30059] Shape Keys is gone in Blender if you use Add Object Actuator in BGE [#30024] Segmentation fault after addObject when using shape keys [#28683] segfault in shapekey conversion code when running a game (YF, level home) twice
2012-02-11svn merge ^/trunk/blender -r43995:44024Campbell Barton
2012-02-10bge font objects: fix for difference in size when object has a parentDalai Felinto
for after 2.62 I would like to try if using doubles would help to increase the precision here. Also now that the mipmap patch is reverted we may want to look at this problem from a different perspective. RES could be calculated taking the object size in relation to the camera (i.e. size and distance, ignoring rotation). That may solve both problems of wrong resolution and lack of smoothness. For the time being users still need to use object.resolution to fine tune the rendered text.
2012-02-10reverting commit [43876] Fix for aliased fonts in the game engineDalai Felinto
2012-02-10bugfix [#30127] alpha in FontObjects not working in blenderplayerDalai Felinto
2012-02-08svn merge ^/trunk/blender -r43934:43976Campbell Barton
2012-02-07Fix for [#29910] Crash on reading KX_SoundActuator.soundJoerg Mueller
aud is now imported automatically on BGE start.
2012-02-06svn merge ^/trunk/blender -r43887:43918Campbell Barton
2012-02-05BGE bug #21947: Softbodies not using object size. Fixed by scaling the shape ↵Benoit Bolsee
before creating the soft body.
2012-02-05svn merge ^/trunk/blender -r43864:43887Campbell Barton
2012-02-04BGE bug #29133: Render to Texture not working. Fixed by using same viewport ↵Benoit Bolsee
to render and capture.
2012-02-04Fix for aliased fonts in the game engine.Alex Fraser
- Mipmaps are generated in BLF when drawing text in-game. In that case, padding around each glyph is increased to prevent bleeding. - Texture filtering is turned on for in-game text. - All glyphs are now "twisted": the leading edge is brought a small distance forward, to prevent z-fighting in overlapping (kerned) glyphs. This happens both in the game engine and the rest of the UI, but should have no effect in the UI due to Z-compression in the clipping matrix. Reviewed and approved by bdiego; see patch [#29882] in the tracker. Tested by dfelinto.
2012-02-03svn merge ^/trunk/blender -r43830:43864Campbell Barton
2012-02-02Fix #29381: Navmeshs frees not guarded allocated memory and leakedSergey Sharybin
There were two issues discovered: - Triangles mapping didn't free in buildNavMeshData if there's no recast data for an object - KX_NavMeshObject used not-guarded allocation for polygons storage, but used guarded freeing stuff to free used memory, producing error messages in the console and leading to memory leak. Wasn't actually harmful for users -- there was no memory corruptions and error happens only when object was set up in a way when navmesh can't work in theory.
2012-02-01svn merge ^/trunk/blender -r43751:43819, need to look into changes made to ↵Campbell Barton
editmesh_loop.c from this range still
2012-01-30pydoc cleanup + remove unused bge.logic constantsDalai Felinto
+ adding PINGPONG as action actuator constant in rst
2012-01-23svn merge ^/trunk/blender -r43616:43639Campbell Barton
2012-01-23Fix for "[#29911] Crash on reading BL_ActionActuator.channelNames"Mitchell Stokes
The crash occurred when an action actuator was attached to a non-armature object because objects that aren't armatures do not have pose data. A NotImplementedError is now raised if someone tries to access any of the following with an action actuator attached to a non-armature object: BL_ActionActuator.channelNames BL_ActionActuator.getChannel() BL_ActionActuator.setChannel()
2012-01-23Committing patch "[#27676] Change window size/resolution in realtime" by me.Mitchell Stokes
Description: This patch allows the user to change the size of the window (or the resolution in fullscreen mode) using the new bge.render.setWindowSize() method. This only works in the Blenderplayer since it doesn't make a whole lot of sense for the embedded player.
2012-01-22svn merge ^/trunk/blender -r43564:43609Campbell Barton
2012-01-22Committing patch "[#29763] Adding an active_events property to ↵Mitchell Stokes
SCA_PythonKeyboard and SCA_PythonMouse" Here is the description: As the summary says, this patch adds a new event to both SCA_PythonKeyboard and SCA_PythonMouse. This property is similar to the events property that both have, but it only returns events which are not KX_NO_INPUTSTATUS. This moves the "no input" check from Python to C, which gave my input handling code a 2x speed up. Python sucks (performance-wise) with iterating lists and SCA_PythonKeyboard has close to 200 events (I think something like 177, but I don't know for sure).
2012-01-22cucumber merge: world scaling + video texture constantsDalai Felinto
revisions: 38166,38167,38177,38179,38180,38187,38242 To be implemented after merge: 1) add pydocs(rst) for the video texture new defines 2) see if a NodeSetLocalMatrix would fit well #43439 by kupoman Changing the worldTransform and localTransform python attributes to use BLI_math to simplify the code #38242 by kupoman Adding the constants SOURCE_ERROR, SOURCE_EMPTY, SOURCE_READY, SOURCE_PLAYING, SOURCE_STOPPED to the video texture module. Updates to the documentation will follow after a merge with trunk #38187 by kupoman Updates to the documentation to reflect that worldScale is now writable, and added localTransform and worldTransform to KX_GameObject. #38180 by kupoman The Transform attribute of KX_GameObject was based on world space data. I converted that one to worldTransform, and added a localTransform for local space transform information. #38179 by kupoman Fixed the transform attribute of KX_GameObject's set method to properly deal with negative scaling. #38177 by kupoman Updated the transform property on KX_GameObject so that it is now read/write, and added the corresponding set method. Also simplified the get method by calling GetOpenGLMatrix instead of making the matrix myself. #38167 by kupoman Adding a read only transform attribute to KX_GameObject that returns a 4x4 matrix representing the object's transformations. #38166 by kupoman Adding a worldScale attribute to KX_GameObject. This attribute scales the object independently of its parent's scale.
2012-01-21change filepath limit from 240 to 1024Campbell Barton
2012-01-16svn merge ^/trunk/blender -r43392:43420Campbell Barton
2012-01-16opengl render save ignored alpha settings. also some FILE_MAX defines missed ↵Campbell Barton
last commit.
2012-01-16use defines for property name lenghths in the BGE, were using 31,32,64,100.Campbell Barton
2012-01-13svn merge ^/trunk/blender -r43294:43338Campbell Barton