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
2014-04-17BGE - button for deactivate sensors, controllers and actuatorsJorge Bernal
This change introduces a new checkbox to deactivate the sensors, controllers and/or actuators. It is useful during the development phase to avoid delete sensors, controllers or actuators if you want to test something new. NOC: The wiki page is being updated (the images mostly), but the feature is already in the 2.71 release log. {F61628} Reviewers: moguri, dfelinto, campbellbarton, dingto, #user_interface, billrey Reviewed By: moguri CC: billrey Differential Revision: https://developer.blender.org/D16
2014-04-16Fix T39445: Async LibLoad CrashMitchell Stokes
There was some deadlock due to trying manage Python's GIL. Instead of continuing to fight with it, anything needing to call into Python while conversion during lib loading is just delayed until it can be done in the main thread.
2014-04-16Fix T39509: Crash when assign an empty as a LoDDaniel Stokes
Missing check when looking for appropriate LoD
2014-04-12Code cleanup: RAS_ILightObject is class, not a struct.Thomas Dinges
Patch by John Pavel. Differential Revision: https://developer.blender.org/D459
2014-04-11API Cleanup: Use BKE_constraint prefix for constraint apiCampbell Barton
2014-04-10BGE: Allow skinned meshes with modifiers to do skinning updates in parallel.Mitchell Stokes
2014-04-10BGE: Fixing a crash when animating objects with modifiers and armatures.Mitchell Stokes
Our deformer system really needs some work. First, there was a crash with shape keys because BL_ModifierDeformer derives from BL_ShapeDeformer, which means we try to execute shape keys even if we do not have them. Also, for some reason BL_ModifierDeformer::Update() does not work if called from the threaded loop, so it is skipped for now. In other words, skinned updates on meshes with modifiers are currently not run in parallel.
2014-04-07BGE: Multi-threading animation updates and skinning.Mitchell Stokes
This required BL_ArmatureObject to have tighter control over armatures and poses. Also, (Blender) armature objects are now copied instead of shared between BL_ArmatureObjects to avoid race conditions. Also, due to the armature copy, shape key drivers need a bit of extra fiddling to get the correct armature copy. Initially OpenMP was used for threading, but then BLI_task was used due to being less compiler dependent. This commit also places time spent on skinning updates in the Animation profiler category (was previously under the Rasterizer category).
2014-04-07blenderplayer - Reviewed some command line options and the respective helpbrita
Doubts: are written as comments in the code Current Problems: - stereo modes sometimes have different names and are ordered differently everywhere (blender properties panel names and tooltips, blenderplayer cmndline) - dome mode as several options, but can only take one at a time, like -D mode bla -D tilt X -D ... - gameoptions are also given one at a time, like above, but with an assignment -g option = X . This is inconsistent. - gameoptions need to be reviewed and docummented - parent to window (-i) is useful for what? (there is no wiki on this either) - there is no support for verbose options like --help (blender itself supports it) Reviewers: dfelinto, moguri CC: Differential Revision: https://developer.blender.org/D312
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-30Style cleanupCampbell Barton
2014-03-28BGE code cleanup: Removing an unused include in KX_Light.cppMitchell Stokes
2014-03-28BGE code cleanup: Removing OpenGL and bf_gpu code from KX_LightObjectMitchell Stokes
The ultimate goal is to only allow the rasterizer to handle OpenGL and bf_gpu calls. This commit creates a RAS_ILightObject interface and a RAS_OpenGLLight implementation.
2014-03-28Fix T39452: Meshes without materials causes a memory leak in the game engineMitchell Stokes
These types of meshes do not use material caching, and thus only the first created material would be saved, but subsequent ones were not. Those subsequent materials were then not being freed. Now we make sure to track all of the materials. Note: Meshes that cannot make use of material caching (no materials or using face textures) can still use up a large amount of RAM since a material is created per face.
2014-03-25Code cleanup: Removing KX_KetsjiEngine::m_drawingmodeMitchell Stokes
The rasterizer is already handling this, and there is no need to duplicate the data.
2014-03-25Fix T38929: BGE: Strange behaving from addObject after trying to add an ↵Mitchell Stokes
nonexisting overlay scene If bge.logic.addScene() could not find the scene to add it would add the first scene again, which is just silly. Now, if no scene is found, a warning is printed and nothing is added.
2014-03-21Fix T38051: Even if Color Management is disabled, it is still applied to the ↵Sergey Sharybin
background
2014-03-20BGE: Adding support for the Cast Only material option.Mitchell Stokes
Note: This does not add support for the option in the viewport.
2014-03-20Fix T36566: 2D filters broken in the Blenderplayer when using side by side ↵Mitchell Stokes
stereo GPC_Canvas::GetWindowArea() and KX_BlenderCanvas::GetWindowArea() are tracking two different things. The 2d filter system doesn't actually need the window area and can get by just using the viewport dimensions, which it now does. The GetWindowArea() mess should probably be cleaned up.
2014-03-15Code cleanup: use r_ prefix for return argsCampbell Barton
2014-02-24Partial fix for T3817: BGE crashing when using LibNew.Mitchell Stokes
The BGE needs to use BKE_main_new() isntead of calloc for allocating a Main struct since the threaded depsgraph changes.
2014-02-23Fix T38645 - Mouse reversed in standalone player with kdebrita
Reviewers: moguri Differential Revision: https://developer.blender.org/D344
2014-02-22Fix T38539: Can't set near sensor distance above 100 via pythonCampbell Barton
2014-02-18Fix T38654: Using a non-camera object for the SetCamera Scene Actuator ↵Mitchell Stokes
causes a segfault. Non-camera objects are not supported as cameras, and trying to use them just causes memory errors (some bad typecasts are involved). When converting a Scene Actuator, only use the object as a camera if it is actually a camera. Also, the logic brick UI now filters for camera objects, which should help avoid confusion.
2014-02-15Fix T37964: KX_GameObject missing NULL checks for m_physicsController.Mitchell Stokes
KX_GameObject::PySuspendDynamics() and KX_GameObjectPyRestoreDynamics() now make sure GetPhysicsController() is non NULL before attempting to use it.
2014-02-14Code cleanup: duplicate headersCampbell Barton
2014-02-12Revert own previous commit rBe2f9afbaabbd.IRIE Shinsuke
The "Cast Shadows" worked as expected, but it can cause problem in some cases. For example, when using strand render, we need disabling only buffer shadows, but the previous changes made that impossible. "Cast Shadows" should be added as a newly created option.
2014-02-11Fix T38553: Crash load new level; array modifier using curve lengthSergey Sharybin
Since threaded object update we've disabled in-place curve evaluation (in cases when applying curve modifier with target curve non-evaluated yet). This requires game engine to take care of DAG and object evaluation (currently it's designed to export only objects it able to render). This workaround will make sure that curve_cache for curves is up-to-date.
2014-02-11Blender Internal: Modify material property "Cast Buffer Shadows" to affect ↵IRIE Shinsuke
ray shadows also, and rename it to "Cast Shadows". This allows us to make materials that don't cast ray shadows. Turning off this property can reduce the rendering time slightly. Note: RNA path is changed to "use_cast_shadows" as well. The older path "use_cast_buffer_shadows" still can be used as its alias, but it will be removed after updating some addons. Reviewed By: brecht Differential Revision: https://developer.blender.org/D272
2014-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
2014-02-05BGE: Fixing memory corruption/double free when duplicating (e.g., addObject) ↵Mitchell Stokes
LibLoaded lights.
2014-02-04Blenderplayer: Fixing a memory leak.Mitchell Stokes
IMB_moviecache_destruct() was not being called.
2014-02-04Code cleanup: declarations for removed functionsCampbell Barton
2014-02-03Fix T38455: Blenderplayer is not workingSergey Sharybin
Was a regression since avg_frame_rate changes. Didn't find reliable way to get stream duration which will work with both FFmpeg and Libav so added some freaking black magic to distinguish one from another.
2014-02-03BGE: correct for last commitCampbell Barton
2014-02-03Code cleanup: white space and cmake was broken on all platformsCampbell Barton
2014-02-02Code cleanup: suffix vars to make obvious they are squaredCampbell Barton
2014-01-28libavformat API usage: use avformat_close_input() instead of ↵Anton Khirnov
av_close_input_file()
2014-01-28Fix T37673: Ray casting could fail with 0 collision marginsSergej Reich
Use bullet's old method of doing ray casts to stay compatible with old files. It's faster but a bit less accurate.
2014-01-24Fix compilation error caused by 67f1fd2Sergey Sharybin
Did one tried building blender before commit even?
2014-01-24game engine: implement hitMaterial for collision and ray sensorsDalai Felinto
Reviewed By: moguri, kupoman Differential Revision: https://developer.blender.org/D167
2014-01-23Fix T38110: GameEngine keyboard sensor ignores unicode charactersCampbell Barton
2014-01-22Revert "Fix T37920: BGE LibLoad failed for meshes with no materials"Campbell Barton
This reverts commit 6a473305af22468abfc4c4f8f3002dc0a97fffd7. Caused T38296, need to investigate this further but for now better not leave blender in unstable state.
2014-01-15Python/Depsgraph: bpy.data.*.is_updated now detects add/remove of any datablock.Tom Edwards
Previously this only worked for some datablocks relevant to rendering, now it can be used to detect if any type of datablock was added or removed (but not yet to detect if it was modified, we need many more depsgraph tags for that). Most of the changes are some function parameter changes, the important parts are the DAG_id_type_tag calls. Reviewed By: sergey, brecht Differential Revision: https://developer.blender.org/D195
2014-01-14fix #T37892 BL_ArmatureConstraint.active returns wrong valueDalai Felinto
patch (with changes from me) by Séverin Lemaignan (skadge)
2014-01-13Code Cleanup: spellingCampbell Barton
2014-01-11Code Cleanup: move MOUSEX/Y to BGE, describe INBETWEEN_MOUSEMOVECampbell Barton
2014-01-02Add new BGE Stereo mode: 3DTV top-bottom.Benoit Bolsee
This mode is designed for passive 3D TV: the viewport is split horizontally - left eye above, right eye below - but the original camera viewport is squashed in each half (with half the vertical resolution). This is necessary to restore the aspect ratio in the 3D output because the TV expands each half to the full screen size.
2013-12-30Fix T37920: BGE LibLoad failed for meshes with no materialsCampbell Barton
2013-12-30Main API: refactor naming, use BKE_main_ prefix and add main arg.Campbell Barton