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
path: root/source
AgeCommit message (Collapse)Author
2009-03-13merging trunk 19093:19274etch-a-tonMartin Poirier
2009-03-13Makefiles: fix definitions of NAN_OPENEXR_* variables on linux, patch providedStefan Gartner
by GSR
2009-03-12BGE patch 18368: Modulus (ie %) expression controller in BGE. Implement a ↵Benoit Bolsee
cache for the expression for better performance.
2009-03-11removed extra space in text.Kent Mein
Kent
2009-03-10remove decimation and opennl libs from gameengine.Kent Mein
Kent
2009-03-10Addes libopenjpeg (jpeg2000) support to the MakefilesKent Mein
Kent
2009-03-09Add support to lock individual axis during rigid body simulation, for ↵Erwin Coumans
translation and rotation. This makes it easier to do 1D or 2D physics (tetris, blockout) todo: create some example/demo.blend.
2009-03-09Fix: The debug lines of Physics Debug Visualization were drawn incorrectly ↵Erwin Coumans
when using overlay scenes (it was using the wrong camera)
2009-03-09upgrade to latest Bullet trunk, fix related to vehicle anti-roll, added ↵Erwin Coumans
constraint visualization. This commit doesn't add new functionality, but more updates are planned before Blender 2.49 release.
2009-03-08BGE patch: undo patch about removing blenderplayer console in Windows: it ↵Benoit Bolsee
interferes with scripts that write to the console. Back to previous state: console cannot be disabled in Windows.
2009-03-06Addes jpeg2000 support to cmake.Kent Mein
I also did some small tweaks. removed ifdef's for pluginapi didn't need them there. Fixed it so the filesel shows jp2 as image files. (I'm going to do makefiles next) Kent
2009-03-05VideoTexture: reactivate VideoTexture for scons/cmake/makefile compilation ↵Benoit Bolsee
systems, fix video streaming, fix camera support in Linux, add multi-thread cache service, fix crash when a VideoFFmpeg object could not be created. The multi-thread cache service is activated only on multi-core processors. It consists in loading, decoding and caching the video frames in a separate thread. The cache size is 5 decoded frames and 30 raw frames. Note that the opening of video file/stream/camera is not multi-thread: you will still experience a delay at the VideoFFmpeg object creation. Processing of the video frame (resize, loading to texture) is still done in the main thread. Caching is automatically enabled for video file, video streaming and video camera. Video streaming now works correctly: the videos frames are loaded at the correct rate. Network delays and frequency drifts are automatically compensated. Note: an http video source is always treated as a streaming source, even though the http protocol allows seeking. For the user it means that he cannot define start/stop range and cannot restart the video except by reopening the source. Pause/play is however possible. Video camera is now correctly handled on Linux: it will not slow down the BGE. A video camera is treated as a streaming source.
2009-03-03Upgraded to Bullet 2.74. The upgrade introduced a few bugs, which need to be ↵Erwin Coumans
fixed before Blender 2.49. In particular, the Bullet vehicle seems broken, and some soft-body demos don't work. No new features or benefits are added yet, but a few improvements are planned before Blender 2.49 release. Please update the build systems, and add those 3 files: extern/bullet2/src/BulletCollision/CollisionDispatch/btActivatingCollisionAlgorithm.cpp extern/bullet2/src/BulletCollision/CollisionDispatch/btGhostObject.cpp extern/bullet2/src/BulletCollision/CollisionShapes/btConvexPointCloudShape.cpp I'll watch the Blender mailing list, in case this commit causes some issues.
2009-03-02minor update to be compatible with Bullet 2.74 physics:Erwin Coumans
btPoint3 has been deprecated, it was already a typedef to btVector3 replace std::vector by btAlignedObjectArray when storing Bullet objects, because MSVC STL implementation has some bugs, preventing to contain aligned objects (btVector3 is 16-byte aligned, to allow SIMD)
2009-03-02* fix linking problem when building WITH_BF_PLAYER=TrueNathan Letwory
2009-03-01Limit cascading rotations (rotation on each child of a chain) to Individual ↵Martin Poirier
Center mode, as I thought I had done at first. :|
2009-03-01BGE patch #18309 commited: Add an addObject() method to KX_Scene.Benoit Bolsee
2009-03-01BGE patch #18181 commited: Fixing some blenderplayer arguments (-c, -w, -f).Benoit Bolsee
2009-03-01BGE API cleanup: apply patch from Moguri: Near, Radar, Touch sensor updated.Benoit Bolsee
2009-02-28* blender doesn't need the -w anymore to start in a windowCampbell Barton
* NULL can be used instead of () args for calling python functions from C.
2009-02-28BGE Python APICampbell Barton
* Scene's and GameObjects can now be printed (raised an exception) * Added GameLogic.getSceneList()
2009-02-27[18327] Fix crash when activating nodesNathan Letwory
- faulty linking and header file lead to crashing whenever nodes were used.
2009-02-26build blenderplayer without opennl and decimationCampbell Barton
2009-02-26Py BGE APICampbell Barton
Python dir(ob) for game types now includes attributes names, * Use "__dict__" rather then "__methods__" attribute to be Python 3.0 compatible * Added _getattr_dict() for getting the method and attribute names from a PyObject, rather then building it in the macro. * Added place holder *::Attribute array, needed for the _getattr_up macro.
2009-02-26small errors in touch sensor and gameObjectCampbell Barton
2009-02-26- Attributes for the collision sensor: propertyName, materialCheck, ↵Campbell Barton
pulseCollisions, objectHit and objectHitList. Removed a check in Python API touch.setProperty() for the property name on the sensor owner before allowing the name to be set - it makes no sense and isnt checked when creating the sensor. - SCA_DelaySensor.py indent error making epydoc fail.
2009-02-25Continue snapping cleaning job.Martin Poirier
Snap to armature correctly in edit mode and when posed. Merge snap and embed in skeleton sketching. Ctrl key does both, depends on the snap mode (volume or other). Snaps to other strokes in all snapping mode except Volume.
2009-02-25forgot this file- remove Sumo from the menu if its disabled.Campbell Barton
2009-02-25New Pulse option for the collision sensor (off by default wont change ↵Campbell Barton
existing logic) Previously only the first collision would trigger an event (no collisions a negative event ofcourse) With the Pulse option enabled, any change to the set of colliding objects will trigger an event. Added this because there was no way to count how many sheep were on a platform in YoFrankie without running a script periodically. Changes in collision are detected by comparing the number of objects colliding with the last event, as well as a hash made from the object pointers. Also changed the touch sensors internal list of colliding objects to only contain objects that match the property or material. - pulse isnt a great name, could change this.
2009-02-25Building the game engine with Solid/Sumo is now optional for scons using ↵Campbell Barton
WITH_BF_SOLID. Now Sumo is has been deprecated for a while we might want to remove it for 2.5.
2009-02-25Minor speedups for the BGECampbell Barton
* Where possible use vec.setValue(x,y,z) to assign values to a vector instead of vec= MT_Vector3(x,y,z), for MT_Point and MT_Matrix types too. * Comparing TexVerts was creating 10 MT_Vector types - instead compare as floats. * Added SG_Spatial::SetWorldFromLocalTransform() since the local transform is use for world transform in some cases. * removed some unneeded vars from UpdateChildCoordinates functions * Py API - Mouse, Ray, Radar sensors - use PyObjectFrom(vec) rather then filling the lists in each function. Use METH_NOARGS for get*() functions.
2009-02-25remove warnings for the BGECampbell Barton
- variables that shadow vers declared earlier - Py_Fatal print an error to the stderr - gcc was complaining about the order of initialized vars (for classes) - const return values for ints and bools didnt do anything. - braces for ambiguous if statements
2009-02-25Snaping cleanup, removing a lot of duplicate code.Martin Poirier
Snapping to armatures: non-editmode armatures only, rest pose only, ... (this is mostly work in progress code).
2009-02-24building the game engine without SDL works againCampbell Barton
2009-02-24Making KX_GameObject names read only.Campbell Barton
This was committed in revision 2832 but never accounted for existing object name hashes which existed since revision 2. Its possible to update the names elsewhere but unlikely anyone ever used this successfully so removing.
2009-02-24fix for segfault when the replace mesh actuator references a mesh that has ↵Campbell Barton
no object in the current scene.
2009-02-24BGE Py APICampbell Barton
* Made GameLogic.addActiveActuator(actu, bool) to raise an error if the actuator is not in the list. Before it would allow any value as the actuator and fail silently (makes debugging scripts more difficult). * Allow the actuator to be a string which is convenient if you dont want to change the settings of the actuator. * Added activate/deactivate functions to the controller, this is more logical since the GameLogic.addActiveActuator() function is running through the controller anyway. GameLogic.addActiveActuator(controller.getActuator("SomeAct"), True) ...can be replaced with... controller.activate("SomeAct")
2009-02-24compile scripts when converting controllers to give more predictable ↵Campbell Barton
performance and print syntax errors early on rather then when the script is first executed.
2009-02-24Merging volume embedding and transform snapping.Martin Poirier
- Volume embed is available as a transform snap option (need new icon). Not as "continuous" as stroke embed, will have to be fixed somehow. - Transform snaps work in armature edit mode (only snap to mesh, not other armatures, for now). Adding to other edit data type should be easy. - Strokes can use all the transform snap options plus volume embed. Bug fix: added small threshold to face snap (and volume embed) to prevent slipping in cracks between faces. More tweaking needed but this now takes care of all the worst cases.
2009-02-24merging trunk 17520:19093Martin Poirier
2009-02-23[#18291] Viewing muliple object UV's in the UV/Image editorCampbell Barton
patch from Chris and Guillermo S. Romero.
2009-02-23BGE Python APICampbell Barton
* fixed segfaults in CListValue.index(val) and CListValue.count(val) when the pyTypes could not be converted into a CValue. * added scene.objects to replace scene.getObjectList() * added function names to PyArg_ParseTuple() so errors will include the function names * removed cases of PyArg_ParseTuple(args,"O",&pyobj) where METH_O ensures a single argument. * Made PyObjectFrom use ugly python api rather then Py_BuildValue(), approx %40 speedup for functions that return Python vector and matrix types like ob.orientation.
2009-02-22SConsNathan Letwory
* I accidently broke the scons bit by chopping the node libs into pieces. I forgot that trunk hasn't had the nice scons cleanout I did in Blender 2.5 branch. Now everything should compile again. It took a while because I tried to quickly do the same cleanup, but src/ is just not cooperating, neither is stock mingw (no @commands.txt tempfilemunge goodies)
2009-02-22SConsNathan Letwory
* chop nodes library into smaller parts to have scons/mingw not puke over long command-lines (the texture nodes pushed the limits).
2009-02-22BGE Py APICampbell Barton
print filename:line with ShowDeprecationWarning(). Typo in scripttemplate_gamelogic.py removed 2 unneeded typedefs
2009-02-21* removed typedefs that were not used (from anonymous enums and structs)Campbell Barton
* Missed some cases of using a 'char *' as an attribute * replace BGE's Py_Return macro with Pythons Py_RETURN_NONE * other minor warnings removed
2009-02-21[#18277] Segfault crash by editing mesh with subsurf+ParticleInstance modifiersAndre Susano Pinto
particleInstanceModifier_applyModifier uses getVertCo,which is not implemented by ccgDM. getVertCo was used to simply perform a min/max, so it was fixed to use the apropriate min/max dm->getMinMax(dm, min_r, max_r); Maybe the fact ccgDM doesn't implements getVertCo/getVertNo is a bug, since it implements every other DM function and its strange those are left out.
2009-02-21[#18058] Black dots appear when blender renders with multi-thread and ↵Campbell Barton
material nodes Without thread locking the function that allocates new threads, black dots appear in renders. This wont affect composite nodes, Ton/Brecht - this is possibly too many lock/unlocks but I timed the render from the bug report and it didn't make a noticeable difference.
2009-02-21bugfix [#17941] Attempting to change path of audio to relative fails.Campbell Barton
2009-02-20BGE API Cleanup: distinction between array and list of values in ↵Benoit Bolsee
KX_PYATTRIBUTE macros. Fix compilation problem under Windows with strcasecmp: define it as stricmp