blender/source/gameengine/Ketsji
Sergey Sharybin caafc8184b Fix #30720: Creating Navmesh crashes blender
In fact there were several issues fixed (all of them regressions since bmesh merge):

- Creating navmesh crashed because creating new faces for mesh was trying to set
  default values for all customdata layers in this face. This requires memory
  pool created for this datablock.
  Usually this pool is creating on creating datablock if there're some elements
  to be stored in this block. In cases of regular primitive creating it wasn't
  an issue because they doesn't create customdata layers, they only creates
  geometry.
  Navigation mesh creates geometry and customdata layers (CD_RECAST layer)
  which used to confuse a bit custom data functions. Solved by ensuring there's
  memory pool created for polygons datablock after adding new custom data layer.
  Most probably it's better to be resolved on CD level (like smarter track on
  changed amount of stored data and so) but prefer not to make such global changes
  so close to the release.
- Toggling edit mode lead to loosing recast datalayer. Solved by adding recast
  layer to bmesh mask so it'll be copied to/from edit mesh.
- Some part of code assumed raycast layer is in face datablock, some that it's in
  polygon datablock. Made it to be in polygons datablock.
  Kind of temporary solution to make navmesh working, probably it'll fail if one
  will want to edit navmesh by hand after it was generated.
  Proper way would be to ensure the whole navmesh things are using ngons.
2012-04-16 13:53:30 +00:00
..
KXNetwork Spelling Cleanup 2012-03-01 12:20:18 +00:00
BL_Action.cpp style cleanup - remove unneeded ';'s 2012-03-08 03:05:57 +00:00
BL_Action.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
BL_ActionManager.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
BL_ActionManager.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
BL_BlenderShader.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
BL_BlenderShader.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
BL_Material.cpp fix [#30839] Blender crashes while open/close a scene and deletes .blend-file 2012-04-10 13:10:44 +00:00
BL_Material.h fix [#30839] Blender crashes while open/close a scene and deletes .blend-file 2012-04-10 13:10:44 +00:00
BL_Shader.cpp style cleanup 2012-03-28 05:03:24 +00:00
BL_Shader.h style cleanup - remove unneeded ';'s 2012-03-08 03:05:57 +00:00
BL_Texture.cpp style cleanup 2012-03-28 05:03:24 +00:00
BL_Texture.h doxygen: entries for blenderroutines, converter, expressions, gamelogic, gameplayer, ketsji 2011-02-22 10:33:14 +00:00
CMakeLists.txt remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_ArmatureSensor.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_ArmatureSensor.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_BlenderMaterial.cpp fix [#30839] Blender crashes while open/close a scene and deletes .blend-file 2012-04-10 13:10:44 +00:00
KX_BlenderMaterial.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_BulletPhysicsController.cpp style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_BulletPhysicsController.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_Camera.cpp code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.) 2012-04-11 08:15:13 +00:00
KX_Camera.h style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_CameraActuator.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_CameraActuator.h style cleanup - spelling corrections & update some incorrect comments. 2012-03-03 11:45:08 +00:00
KX_CameraIpoSGController.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_CameraIpoSGController.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_ClientObjectInfo.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_ConstraintActuator.cpp style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_ConstraintActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_ConstraintWrapper.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_ConstraintWrapper.h style cleanup - remove unneeded ';'s 2012-03-08 03:05:57 +00:00
KX_ConvertPhysicsObject.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_ConvertPhysicsObjects.cpp Fix #30702: game engine softbody weld threshold was exposed in UI, but actually 2012-03-28 12:18:25 +00:00
KX_Dome.cpp spherical panoramic fix 2012-04-05 22:06:45 +00:00
KX_Dome.h code cleanup: remove unused var for windows and style edit (remove spaces between 'var[num]') 2012-04-12 00:15:02 +00:00
KX_EmptyObject.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_EmptyObject.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_FontObject.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_FontObject.h style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_GameActuator.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_GameActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_GameObject.cpp style cleanup 2012-03-28 05:03:24 +00:00
KX_GameObject.h bmesh py api: more comprehensive intro page, also fix some spelling errors. 2012-03-13 06:22:43 +00:00
KX_IInterpolator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_IPhysicsController.cpp style cleanup 2012-03-02 16:05:54 +00:00
KX_IPhysicsController.h style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_IPO_SGController.cpp split >120 length lines (mostly if statements) 2011-12-22 00:03:20 +00:00
KX_IPO_SGController.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_IpoActuator.cpp style cleanup 2012-03-28 05:03:24 +00:00
KX_IpoActuator.h style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_IPOTransform.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_IScalarInterpolator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_ISceneConverter.h style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_ISystem.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_KetsjiEngine.cpp This fixes BGE bugs #30484 (Frame rate increases very high after game engine start with record animation enabled) and #29449 (Record Animation runs 1000+ fps on Mac OSX 10.6.8 64bit). The problem was, recording animation was forcing "fixed time", which always advances the engine one frame instead of advancing based on time passed. This means that "fixed time" runs at full speed. Now fixed time is disabled when recording animation. 2012-04-05 03:05:02 +00:00
KX_KetsjiEngine.h spelling cleanup 2012-03-18 07:38:51 +00:00
KX_Light.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_Light.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_LightIpoSGController.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_LightIpoSGController.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_MaterialIpoController.cpp doxygen: gameengine/Ketsji tagged. 2011-02-25 13:35:59 +00:00
KX_MaterialIpoController.h doxygen: entries for blenderroutines, converter, expressions, gamelogic, gameplayer, ketsji 2011-02-22 10:33:14 +00:00
KX_MeshProxy.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_MeshProxy.h style cleanup (mostly whitespace) 2012-02-27 10:35:39 +00:00
KX_MotionState.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_MotionState.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_MouseFocusSensor.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_MouseFocusSensor.h style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_NavMeshObject.cpp Fix #30720: Creating Navmesh crashes blender 2012-04-16 13:53:30 +00:00
KX_NavMeshObject.h style cleanup - remove unneeded ';'s 2012-03-08 03:05:57 +00:00
KX_NearSensor.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_NearSensor.h style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_ObColorIpoSGController.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_ObColorIpoSGController.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_ObjectActuator.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_ObjectActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_ObstacleSimulation.cpp code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.) 2012-04-11 08:15:13 +00:00
KX_ObstacleSimulation.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_OrientationInterpolator.cpp style cleanup, use { on newline after function definition. 2012-02-25 16:49:59 +00:00
KX_OrientationInterpolator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_ParentActuator.cpp remove header text: 2011-11-29 10:54:47 +00:00
KX_ParentActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_PhysicsEngineEnums.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_PhysicsObjectWrapper.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_PhysicsObjectWrapper.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_PhysicsPropertiesobsolete.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_PolygonMaterial.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_PolygonMaterial.h style cleanup 2012-03-02 16:05:54 +00:00
KX_PolyProxy.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_PolyProxy.h style cleanup (mostly whitespace) 2012-02-27 10:35:39 +00:00
KX_PositionInterpolator.cpp style cleanup, use { on newline after function definition. 2012-02-25 16:49:59 +00:00
KX_PositionInterpolator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_PyConstraintBinding.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_PyConstraintBinding.h Code Cleanup: remove non existing function declarations. 2012-02-29 15:00:37 +00:00
KX_PyMath.cpp quiet some warnings for gcc 4.7 2012-03-26 20:49:33 +00:00
KX_PyMath.h recent matrix row/col swap broke matrix assignment in the BGE, fix provided by Andrew Hale 2011-12-23 00:51:54 +00:00
KX_PythonInit.cpp style cleanup 2012-03-28 05:03:24 +00:00
KX_PythonInit.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_PythonInitTypes.cpp style cleanup 2012-03-28 05:03:24 +00:00
KX_PythonInitTypes.h remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_PythonSeq.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_PythonSeq.h use Py_TYPE macro (no functional changes) 2011-11-03 13:10:37 +00:00
KX_RadarSensor.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_RadarSensor.h style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_RayCast.cpp code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.) 2012-04-11 08:15:13 +00:00
KX_RayCast.h remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_RayEventManager.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_RayEventManager.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_RaySensor.cpp style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_RaySensor.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_SCA_AddObjectActuator.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_SCA_AddObjectActuator.h style cleanup (mostly whitespace) 2012-02-27 10:35:39 +00:00
KX_SCA_DynamicActuator.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_SCA_DynamicActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_SCA_EndObjectActuator.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_SCA_EndObjectActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_SCA_ReplaceMeshActuator.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_SCA_ReplaceMeshActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_ScalarInterpolator.cpp style cleanup, use { on newline after function definition. 2012-02-25 16:49:59 +00:00
KX_ScalarInterpolator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_ScalingInterpolator.cpp style cleanup, use { on newline after function definition. 2012-02-25 16:49:59 +00:00
KX_ScalingInterpolator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_Scene.cpp style cleanup 2012-03-28 05:03:24 +00:00
KX_Scene.h style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_SceneActuator.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_SceneActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_SG_BoneParentNodeRelationship.cpp style cleanup 2012-03-28 05:03:24 +00:00
KX_SG_BoneParentNodeRelationship.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_SG_NodeRelationships.cpp style cleanup 2012-03-28 05:03:24 +00:00
KX_SG_NodeRelationships.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_SoundActuator.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_SoundActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_StateActuator.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_StateActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_SteeringActuator.cpp code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.) 2012-04-11 08:15:13 +00:00
KX_SteeringActuator.h style cleanup - remove unneeded ';'s 2012-03-08 03:05:57 +00:00
KX_TimeCategoryLogger.cpp code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.) 2012-04-11 08:15:13 +00:00
KX_TimeCategoryLogger.h style cleanup 2012-03-02 16:05:54 +00:00
KX_TimeLogger.cpp code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.) 2012-04-11 08:15:13 +00:00
KX_TimeLogger.h style cleanup 2012-03-02 16:05:54 +00:00
KX_TouchEventManager.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_TouchEventManager.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_TouchSensor.cpp use defines for property name lenghths in the BGE, were using 31,32,64,100. 2012-01-16 05:27:11 +00:00
KX_TouchSensor.h style cleanup: spelling. 2012-03-09 00:41:09 +00:00
KX_TrackToActuator.cpp style cleanup 2012-03-28 05:03:24 +00:00
KX_TrackToActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_VehicleWrapper.cpp doxygen: gameengine/Ketsji tagged. 2011-02-25 13:35:59 +00:00
KX_VehicleWrapper.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_VertexProxy.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_VertexProxy.h style cleanup (mostly whitespace) 2012-02-27 10:35:39 +00:00
KX_VisibilityActuator.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_VisibilityActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_WorldInfo.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_WorldInfo.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_WorldIpoController.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_WorldIpoController.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
SConscript misc edits 2011-10-20 00:19:21 +00:00