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
2010-10-27workaround for python bug [#24400] If Script is executed with TEXT Editor, ↵Campbell Barton
it becomes an error. having the blend file as a part of the __file__ variable is not essential, this is fixed in python 3.2 so add an ifdef and don't use the blend file path for py older then 3.2.
2010-10-26move geometry python module into mathutils.geometry, since it provides ↵Campbell Barton
utility functions using mathutils types.
2010-10-26Added function RNA_property_update_check() to check if an update call is needed,Campbell Barton
Simple python benchmark shows this to be about 3x faster in the case where an update isn't needed. This also speeds up rna function argument parsing, since each arg in a function call did 2 string lookups on the context which were never needed.
2010-10-23use explicit file paths for CMake rather then globing, This is recommended ↵Campbell Barton
by cmake devs. globbing vs explicit is discussed here. http://www.cmake.org/pipermail/cmake/2008-December/025694.html Practical implications are: - developers need to keep CMakeLists.txt files up to date. - Users wont get strange linking errors if they build after a file is added, since CMake detects CMakeLists.txt is modified and automatically reconfigure.
2010-10-20Quiet compiler warnings.Campbell Barton
2010-10-16most unused arg warnings corrected.Campbell Barton
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating). - mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-10-11BGE object.life - gives you the life countdown for temporary objects.Dalai Felinto
Whenever using AddObject actuator, this feature gives you control over morbid events (a.k.a. trigger events before the object ends). Demo file here: http://blenderecia.orgfree.com/blender/tmp/cube_life.blend Feature implemented as part of the BGE development workshop in BlenderPRO 2010 - Fortaleza, Brazil
2010-10-11building without python works again for the BGECampbell Barton
2010-10-10enable building the game engine without bullet for scons & cmakeCampbell Barton
2010-10-09Fixing a memory leak with SCA_PythonKeyboard and SCA_PythonMouse.Mitchell Stokes
2010-10-09Enable CXX_GUARDEDALLOC support through SCons.Nathan Letwory
2010-10-06Campbell requested that I remove one of the bge.events.RETKEY aliases, so ↵Mitchell Stokes
I'm removing bge.events.RETURNKEY.
2010-10-05A bit of bge.events work:Mitchell Stokes
* A few places in the bge.events docs mentioned bge.keys, when it should have been bge.events * Created two aliases to bge.events.RETKEY: ENTERKEY and RETURNKEY * ENTERKEY and RETURNKEY have been added to the docs and RETKEY marked as deprecated * Added an example of using bge.logic.keyboard to the bge.events docs
2010-10-04bugfix [#24087] Blender can not install add-ons unless running with root ↵Campbell Barton
priviledges now addon path is created using the same path functions and selecting where to save the startup.blend also made some minor changes to path handling funcs.
2010-10-03Fix attribution, as noticed by Dalai Felinto.Guillermo S. Romero
2010-09-30use constant rather then sqrt(2.0)Campbell Barton
2010-09-18* Update BGE for change in r32001Nathan Letwory
* Fix var declaration in bpy_interface.c * Remove forward declarations from py_capi_utils.h: they are unnecessary and break compiles (there were probably many warnings about this during compile with GCC).
2010-09-15update for MingW/CMakeCampbell Barton
- ignore MSVC warnings when FREE_WINDOWS is defined to quiet warnings. - the CMake flags were not being set correctly making blender have weirdo colors (no -funsigned-char).
2010-09-15BGE Dome: fix for "objects parented to the camera will be rendered multiple ↵Dalai Felinto
times in Dome mode" The funny thing is: I only spotted this bug in March of this year. Almost one year after the original release. I think I don't parent objects to the camera often. In terms of code I think that I can even think in a more elegant solution. I don't really need to rotate the camera, but simply to calculate its Modelview Matrix. """ m_rasterizer->SetViewMatrix(viewmat, cam->NodeGetWorldOrientation(), cam->NodeGetWorldPosition(), 1.0); cam->SetModelviewMatrix(viewmat); """ The reason why I originally was rotating the camera was to make sure the frustum calculation was using the right camera frustum. For the frustum it takes the camera modelviewmatrix so the rotation really shouldn't be necessary. Leaving as it's for the time being. * Note: the bug was never officially reported
2010-09-11BGE module reshuffling - VideoTexture -> bge.textureDalai Felinto
this was the one module left to be renamed. We didn't get to any conclusion in the mailing list, but Campbell suggested texture and I think its a good name. We can change any time before next Beta, but for now I think it's handy to have something. The original proposal is from May: http://lists.blender.org/pipermail/bf-committers/2010-May/027587.html
2010-09-07- added back zlib include (needed for win32).Campbell Barton
- use list append in more places. - remove non existing include dir.
2010-09-03SVN maintenance.Guillermo S. Romero
2010-08-30Finally change SConscript tabs to spaces.Nathan Letwory
2010-08-29BGE patch #22623 applied: new bound type: Capsule.Benoit Bolsee
2010-08-28After talking with Campbell, we came to the conclusion that it was probably ↵Mitchell Stokes
best not to auto-import modules. To this end, I'm removing the automatic import of the bge module.
2010-08-28Committing patch [#23278] (by me)Mitchell Stokes
This patch allows a user to pass binary data to LibLoad() to load a blend file from memory instead of a file path. I don't know how useful this will be for others, but I've used it so far for: * Decrypting .blend files and loading them without having to store the .blend on the hard drive * Pulling .blend data out of an archive and loading it (again skipping the hard drive) So, it seems the biggest use for this is skipping a bit of file IO (and possibly some security problems). Example usage: import bge with f as open('myfile.blend', 'rb'): data = f.read() bge.logic.LibLoad('Name', 'Scene', data)
2010-08-27own rna naming commits r31439 r31472 also renamed BGE vars unintentionallyCampbell Barton
2010-08-20rna data path names which are more likely to break animations.Campbell Barton
Added an operator "Update Animation Data", access from the search menu to update drivers and fcurves.
2010-08-17Audaspace: This should fix all missing python includes now once for all...Joerg Mueller
2010-08-16Audaspace: Fixing quaternion and relativeness of 3D sounds error.Joerg Mueller
2010-08-16Py API (GSoC): Second merging commitJoerg Mueller
Rough summary of fixes/changes: - Blender Py API: GameLogic -> bge.logic - Blender Py API: Implemented missing KX_PYATTRIBUTE_TODOs and -DUMMYs. - Fix for [#22924] KX_PolygonMaterial.diffuse does not return expected list[r,g,b] - Py API: Renaming _owner attribute of mathutils classes to owner. - Fix some minor errors in mathutils and blf. - Enabling game engine autoplay again based on a patch by Dalai: * The biggest 3D view in the open scene is used, if there is none, blender opens the file normally and raises an error. * The 3D view are is made fullscreen. * Quad view, header, properties and toolbox panel are all hidden to get the maximum view. * If the game engine full screen setting is set, the game starts in fullscreen. - Fix for ipo conversion on file transition in the game engine.
2010-08-16Audaspace (GSoC): First merging commitJoerg Mueller
* All audaspace changes from the GSoC branch including the aud Python module * This commit also includes some minor changes in source/gameengine/Ketsji/KX_PythonInit.cpp: - Fixing names of some constants - removing outdated stopDSP() python function - Autoinclusion of bge instead of GameLogic - Fix for some error messages: GameLogic -> bge.logic
2010-08-13svn merge -r 31211:31313 ↵Joerg Mueller
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2010-08-11Blender Py API: GameLogic -> bge.logicJoerg Mueller
2010-08-11Blender Py API: Implemented missing KX_PYATTRIBUTE_TODOs and -DUMMYs.Joerg Mueller
2010-08-11Update address in license block.Guillermo S. Romero
2010-08-10moved idcode functions into their own file (was added as a todo in the ↵Campbell Barton
comments), these were mixed in with file reading code - BLO_readfile.h bot these functions are not spesific to reading.
2010-08-10Fix for [#22924] KX_PolygonMaterial.diffuse does not return expected list[r,g,b]Joerg Mueller
2010-08-07svn merge -r 31060:31144 ↵Joerg Mueller
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2010-08-06fix for fake python bge.* module, this is really nasty temp py code! (not a ↵Campbell Barton
good example)
2010-08-05svn merge -r 30954:31059 ↵Joerg Mueller
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2010-08-05bugfix [#23148] "ImportError: __import__ not found" on changing Render FPSCampbell Barton
The BGE was getting the namespace dict directly from __main__ which conflicts with my recent fix to get the pickle module working which to overwrote the __main__ module on script execution. Simple fix is to have the BGE and Blender use the same method of getting namespaces. Renamed CreateGlobalDictionary() to bpy_namespace_dict_new() and moved into bpy_internal_import.c pickle still wont work in the BGE since we make a copy of __main__ namespace but for speed would rather not have to replace the __main__ module many times per second.
2010-08-04== Makefiles ==Stefan Gartner
* add support for LCMS (disabled by default, set WITH_LCMS to true to enable it) * fixed typo that prevented TIFF support to be properly enabled * enable ray optimization by default (scons and cmake already did this) * fixed building with libsndfile on darwin (disabled by default) * quicktime: use audaspace headers from $(NAN_AUDASPACE)/include instead of intern * gameengine: add -DWITH_FFMPEG to compiler flags when building with ffmpeg support
2010-08-04include cleanup, no functional changesCampbell Barton
- removed DNA_brush_types.h from DNA_scene_types.h (and some other similar cases) - removed DNA_wave_types.h (never used) - removed Main.wave
2010-08-03remove commented scons lines from cmake files, fixed use of pointer poll ↵Campbell Barton
function for ID drobdowns (currently unused)
2010-08-02Audaspace:Joerg Mueller
* Added a stopCallback function that is called when the end of a sound is reached. * Fixed the scrubbing not working. * Minor SoundActuator cleanup.
2010-07-31Audaspace:Joerg Mueller
* Fixed some compiler warnings * Implemented device looping * Note: Scrubbing in the sequencer is broken atm
2010-07-31svn merge -r 30718:30912 ↵Joerg Mueller
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2010-07-31Audaspace: Refactored the complete 3D Device code giving a nicer API.Joerg Mueller
2010-07-27Fix #22986: glsl didn't take object hiding into account yet for lamps.Brecht Van Lommel