forked from bartvdbraak/blender
46eef60d93
This patch changes most of the reamining degrees usage in internal code into radians. I let a few which I know off asside, for reasons explained below - and I'm not sure to have found out all of them. WARNING: this introduces forward incompatibility, which means files saved from this version won't open 100% correctly in previous versions (a few angle properties would use radians values as degrees...). Details: - Data: -- Lamp.spotsize: Game engine exposed this setting in degrees, to not break the API here I kept it as such (using getter/setter functions), still using radians internally. -- Mesh.smoothresh: Didn't touch to this one, as we will hopefully replace it completely by loop normals currently in dev. - Modifiers: -- EdgeSplitModifierData.split_angle, BevelModifierData.bevel_angle: Done. - Postprocessing: -- WipeVars.angle (sequencer's effect), NodeBokehImage.angle, NodeBoxMask.rotation, NodeEllipseMask.rotation: Done. - BGE: -- bConstraintActuator: Orientation type done (the minloc[0] & maxloc[0] cases). Did not touch to 'limit location' type, it can also limit rotation, but it exposes through RNA the same limit_min/limit_max, which hence can be either distance or angle values, depending on the mode. Will leave this to BGE team. -- bSoundActuator.cone_outer_angle_3d, bSoundActuator.cone_inner_angle_3d: Done (note I kept degrees in BGE itself, as it seems this is the expected value here...). -- bRadarSensor.angle: Done. Reviewers: brecht, campbellbarton, sergey, gaiaclary, dfelinto, moguri, jbakker, lukastoenne, howardt Reviewed By: brecht, campbellbarton, sergey, gaiaclary, moguri, jbakker, lukastoenne, howardt Thanks to all! Differential Revision: http://developer.blender.org/D59 |
||
---|---|---|
.. | ||
BL_ActionActuator.cpp | ||
BL_ActionActuator.h | ||
BL_ArmatureActuator.cpp | ||
BL_ArmatureActuator.h | ||
BL_ArmatureChannel.cpp | ||
BL_ArmatureChannel.h | ||
BL_ArmatureConstraint.cpp | ||
BL_ArmatureConstraint.h | ||
BL_ArmatureObject.cpp | ||
BL_ArmatureObject.h | ||
BL_BlenderDataConversion.cpp | ||
BL_BlenderDataConversion.h | ||
BL_DeformableGameObject.cpp | ||
BL_DeformableGameObject.h | ||
BL_MeshDeformer.cpp | ||
BL_MeshDeformer.h | ||
BL_ModifierDeformer.cpp | ||
BL_ModifierDeformer.h | ||
BL_ShapeActionActuator.cpp | ||
BL_ShapeActionActuator.h | ||
BL_ShapeDeformer.cpp | ||
BL_ShapeDeformer.h | ||
BL_SkinDeformer.cpp | ||
BL_SkinDeformer.h | ||
BlenderWorldInfo.cpp | ||
BlenderWorldInfo.h | ||
CMakeLists.txt | ||
KX_BlenderScalarInterpolator.cpp | ||
KX_BlenderScalarInterpolator.h | ||
KX_BlenderSceneConverter.cpp | ||
KX_BlenderSceneConverter.h | ||
KX_ConvertActuators.cpp | ||
KX_ConvertActuators.h | ||
KX_ConvertControllers.cpp | ||
KX_ConvertControllers.h | ||
KX_ConvertProperties.cpp | ||
KX_ConvertProperties.h | ||
KX_ConvertSensors.cpp | ||
KX_ConvertSensors.h | ||
KX_LibLoadStatus.cpp | ||
KX_LibLoadStatus.h | ||
KX_SoftBodyDeformer.cpp | ||
KX_SoftBodyDeformer.h | ||
SConscript |