soc-2008-mxcurioni: renamed all Freestyle API related files with 'BPy_' prefix to...
authorMaxime Curioni <maxime.curioni@gmail.com>
Wed, 23 Jul 2008 07:56:08 +0000 (07:56 +0000)
committerMaxime Curioni <maxime.curioni@gmail.com>
Wed, 23 Jul 2008 07:56:08 +0000 (07:56 +0000)
Included MediumType's initialization at proper time to avoid Blender's crash.

171 files changed:
source/blender/freestyle/SConscript
source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp [moved from source/blender/freestyle/intern/python/BinaryPredicate0D.cpp with 98% similarity]
source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.h [moved from source/blender/freestyle/intern/python/BinaryPredicate0D.h with 100% similarity]
source/blender/freestyle/intern/python/BPy_BinaryPredicate1D.cpp [moved from source/blender/freestyle/intern/python/BinaryPredicate1D.cpp with 98% similarity]
source/blender/freestyle/intern/python/BPy_BinaryPredicate1D.h [moved from source/blender/freestyle/intern/python/BinaryPredicate1D.h with 100% similarity]
source/blender/freestyle/intern/python/BPy_Convert.cpp [moved from source/blender/freestyle/intern/python/Convert.cpp with 97% similarity]
source/blender/freestyle/intern/python/BPy_Convert.h [moved from source/blender/freestyle/intern/python/Convert.h with 75% similarity]
source/blender/freestyle/intern/python/BPy_CurvePointIterator.cpp [moved from source/blender/freestyle/intern/python/CurvePointIterator.cpp with 100% similarity]
source/blender/freestyle/intern/python/BPy_EdgeModifier.cpp [moved from source/blender/freestyle/intern/python/EdgeModifier.cpp with 100% similarity]
source/blender/freestyle/intern/python/BPy_Freestyle.cpp [moved from source/blender/freestyle/intern/python/Freestyle.cpp with 89% similarity]
source/blender/freestyle/intern/python/BPy_Freestyle.h [moved from source/blender/freestyle/intern/python/Freestyle.h with 100% similarity]
source/blender/freestyle/intern/python/BPy_Id.cpp [moved from source/blender/freestyle/intern/python/Id.cpp with 99% similarity]
source/blender/freestyle/intern/python/BPy_Id.h [moved from source/blender/freestyle/intern/python/Id.h with 100% similarity]
source/blender/freestyle/intern/python/BPy_IntegrationType.cpp [moved from source/blender/freestyle/intern/python/IntegrationType.cpp with 98% similarity]
source/blender/freestyle/intern/python/BPy_IntegrationType.h [moved from source/blender/freestyle/intern/python/IntegrationType.h with 100% similarity]
source/blender/freestyle/intern/python/BPy_Interface0D.cpp [moved from source/blender/freestyle/intern/python/Interface0D.cpp with 97% similarity]
source/blender/freestyle/intern/python/BPy_Interface0D.h [moved from source/blender/freestyle/intern/python/Interface0D.h with 100% similarity]
source/blender/freestyle/intern/python/BPy_Interface0DIterator.cpp [moved from source/blender/freestyle/intern/python/Interface0DIterator.cpp with 100% similarity]
source/blender/freestyle/intern/python/BPy_Interface1D.cpp [moved from source/blender/freestyle/intern/python/Interface1D.cpp with 98% similarity]
source/blender/freestyle/intern/python/BPy_Interface1D.h [moved from source/blender/freestyle/intern/python/Interface1D.h with 100% similarity]
source/blender/freestyle/intern/python/BPy_Material.cpp [moved from source/blender/freestyle/intern/python/Material.cpp with 100% similarity]
source/blender/freestyle/intern/python/BPy_MediumType.cpp [moved from source/blender/freestyle/intern/python/MediumType.cpp with 93% similarity]
source/blender/freestyle/intern/python/BPy_MediumType.h [moved from source/blender/freestyle/intern/python/MediumType.h with 100% similarity]
source/blender/freestyle/intern/python/BPy_Nature.cpp [moved from source/blender/freestyle/intern/python/Nature.cpp with 99% similarity]
source/blender/freestyle/intern/python/BPy_Nature.h [moved from source/blender/freestyle/intern/python/Nature.h with 100% similarity]
source/blender/freestyle/intern/python/BPy_Noise.cpp [moved from source/blender/freestyle/intern/python/Noise.cpp with 100% similarity]
source/blender/freestyle/intern/python/BPy_Operators.cpp [moved from source/blender/freestyle/intern/python/Operators.cpp with 100% similarity]
source/blender/freestyle/intern/python/BPy_SShape.cpp [moved from source/blender/freestyle/intern/python/SShape.cpp with 100% similarity]
source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp [moved from source/blender/freestyle/intern/python/StrokeAttribute.cpp with 99% similarity]
source/blender/freestyle/intern/python/BPy_StrokeAttribute.h [moved from source/blender/freestyle/intern/python/StrokeAttribute.h with 100% similarity]
source/blender/freestyle/intern/python/BPy_StrokeShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader.cpp with 98% similarity]
source/blender/freestyle/intern/python/BPy_StrokeShader.h [moved from source/blender/freestyle/intern/python/StrokeShader.h with 100% similarity]
source/blender/freestyle/intern/python/BPy_StrokeVertexIterator.cpp [moved from source/blender/freestyle/intern/python/StrokeVertexIterator.cpp with 100% similarity]
source/blender/freestyle/intern/python/BPy_UnaryFunction0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D.cpp with 99% similarity]
source/blender/freestyle/intern/python/BPy_UnaryFunction0D.h [moved from source/blender/freestyle/intern/python/UnaryFunction0D.h with 100% similarity]
source/blender/freestyle/intern/python/BPy_UnaryFunction1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D.cpp with 99% similarity]
source/blender/freestyle/intern/python/BPy_UnaryFunction1D.h [moved from source/blender/freestyle/intern/python/UnaryFunction1D.h with 100% similarity]
source/blender/freestyle/intern/python/BPy_UnaryPredicate0D.cpp [moved from source/blender/freestyle/intern/python/UnaryPredicate0D.cpp with 98% similarity]
source/blender/freestyle/intern/python/BPy_UnaryPredicate0D.h [moved from source/blender/freestyle/intern/python/UnaryPredicate0D.h with 100% similarity]
source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp [moved from source/blender/freestyle/intern/python/UnaryPredicate1D.cpp with 98% similarity]
source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.h [moved from source/blender/freestyle/intern/python/UnaryPredicate1D.h with 100% similarity]
source/blender/freestyle/intern/python/BPy_ViewEdgeIterator.cpp [moved from source/blender/freestyle/intern/python/EdgeModifier/TimestampModifier.cpp with 100% similarity]
source/blender/freestyle/intern/python/BPy_ViewMap.cpp [moved from source/blender/freestyle/intern/python/ViewMap.cpp with 100% similarity]
source/blender/freestyle/intern/python/BPy_ViewShape.cpp [moved from source/blender/freestyle/intern/python/ViewShape.cpp with 100% similarity]
source/blender/freestyle/intern/python/BPy_orientedViewEdgeIterator.cpp [moved from source/blender/freestyle/intern/python/Interface1D/Curve/Chain.cpp with 100% similarity]
source/blender/freestyle/intern/python/BinaryPredicate1D/BPy_FalseBP1D.cpp [moved from source/blender/freestyle/intern/python/BinaryPredicate1D/FalseBP1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/BinaryPredicate1D/BPy_Length2DBP1D.cpp [moved from source/blender/freestyle/intern/python/BinaryPredicate1D/Length2DBP1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/BinaryPredicate1D/BPy_SameShapeIdBP1D.cpp [moved from source/blender/freestyle/intern/python/BinaryPredicate1D/SameShapeIdBP1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/BinaryPredicate1D/BPy_TrueBP1D.cpp [moved from source/blender/freestyle/intern/python/BinaryPredicate1D/TrueBP1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/BinaryPredicate1D/BPy_ViewMapGradientNormBP1D.cpp [moved from source/blender/freestyle/intern/python/BinaryPredicate1D/ViewMapGradientNormBP1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/EdgeModifier/BPy_TimestampModifier.cpp [moved from source/blender/freestyle/intern/python/ViewEdgeIterator.cpp with 100% similarity]
source/blender/freestyle/intern/python/Interface0D/BPy_CurvePoint.cpp [moved from source/blender/freestyle/intern/python/Interface0D/CurvePoint.cpp with 99% similarity]
source/blender/freestyle/intern/python/Interface0D/BPy_CurvePoint.h [moved from source/blender/freestyle/intern/python/Interface0D/CurvePoint.h with 95% similarity]
source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp [moved from source/blender/freestyle/intern/python/Interface0D/SVertex.cpp with 99% similarity]
source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.h [moved from source/blender/freestyle/intern/python/Interface0D/SVertex.h with 95% similarity]
source/blender/freestyle/intern/python/Interface0D/BPy_ViewVertex.cpp [moved from source/blender/freestyle/intern/python/Interface0D/ViewVertex.cpp with 98% similarity]
source/blender/freestyle/intern/python/Interface0D/BPy_ViewVertex.h [moved from source/blender/freestyle/intern/python/Interface0D/ViewVertex.h with 95% similarity]
source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.cpp [moved from source/blender/freestyle/intern/python/Interface0D/CurvePoint/StrokeVertex.cpp with 99% similarity]
source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.h [moved from source/blender/freestyle/intern/python/Interface0D/CurvePoint/StrokeVertex.h with 95% similarity]
source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_NonTVertex.cpp [moved from source/blender/freestyle/intern/python/Interface0D/ViewVertex/NonTVertex.cpp with 100% similarity]
source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_TVertex.cpp [moved from source/blender/freestyle/intern/python/Interface0D/ViewVertex/TVertex.cpp with 100% similarity]
source/blender/freestyle/intern/python/Interface1D/BPy_Curve.cpp [moved from source/blender/freestyle/intern/python/Interface1D/Curve.cpp with 100% similarity]
source/blender/freestyle/intern/python/Interface1D/BPy_FEdge.cpp [moved from source/blender/freestyle/intern/python/Interface1D/FEdge.cpp with 99% similarity]
source/blender/freestyle/intern/python/Interface1D/BPy_FEdge.h [moved from source/blender/freestyle/intern/python/Interface1D/FEdge.h with 95% similarity]
source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.cpp [moved from source/blender/freestyle/intern/python/Interface1D/Stroke.cpp with 99% similarity]
source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.h [moved from source/blender/freestyle/intern/python/Interface1D/Stroke.h with 95% similarity]
source/blender/freestyle/intern/python/Interface1D/BPy_ViewEdge.cpp [moved from source/blender/freestyle/intern/python/Interface1D/ViewEdge.cpp with 100% similarity]
source/blender/freestyle/intern/python/Interface1D/Curve/BPy_Chain.cpp [moved from source/blender/freestyle/intern/python/orientedViewEdgeIterator.cpp with 100% similarity]
source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp [moved from source/blender/freestyle/intern/python/Interface1D/FEdge/FEdgeSharp.cpp with 100% similarity]
source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.cpp [moved from source/blender/freestyle/intern/python/Interface1D/FEdge/FEdgeSmooth.cpp with 100% similarity]
source/blender/freestyle/intern/python/StrokeShader/BPy_BackboneStretcherShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader/BackboneStretcherShader.cpp with 100% similarity]
source/blender/freestyle/intern/python/StrokeShader/BPy_BezierCurveShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader/BezierCurveShader.cpp with 100% similarity]
source/blender/freestyle/intern/python/StrokeShader/BPy_CalligraphicShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader/CalligraphicShader.cpp with 100% similarity]
source/blender/freestyle/intern/python/StrokeShader/BPy_ColorNoiseShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader/ColorNoiseShader.cpp with 100% similarity]
source/blender/freestyle/intern/python/StrokeShader/BPy_ColorVariationPatternShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader/ColorVariationPatternShader.cpp with 100% similarity]
source/blender/freestyle/intern/python/StrokeShader/BPy_ConstantColorShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader/ConstantColorShader.cpp with 100% similarity]
source/blender/freestyle/intern/python/StrokeShader/BPy_ConstantThicknessShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader/ConstantThicknessShader.cpp with 100% similarity]
source/blender/freestyle/intern/python/StrokeShader/BPy_ConstrainedIncreasingThicknessShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader/ConstrainedIncreasingThicknessShader.cpp with 100% similarity]
source/blender/freestyle/intern/python/StrokeShader/BPy_GuidingLinesShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader/GuidingLinesShader.cpp with 100% similarity]
source/blender/freestyle/intern/python/StrokeShader/BPy_IncreasingColorShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader/IncreasingColorShader.cpp with 100% similarity]
source/blender/freestyle/intern/python/StrokeShader/BPy_IncreasingThicknessShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader/IncreasingThicknessShader.cpp with 100% similarity]
source/blender/freestyle/intern/python/StrokeShader/BPy_PolygonalizationShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader/PolygonalizationShader.cpp with 100% similarity]
source/blender/freestyle/intern/python/StrokeShader/BPy_SamplingShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader/SamplingShader.cpp with 100% similarity]
source/blender/freestyle/intern/python/StrokeShader/BPy_SpatialNoiseShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader/SpatialNoiseShader.cpp with 100% similarity]
source/blender/freestyle/intern/python/StrokeShader/BPy_StrokeTextureShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader/StrokeTextureShader.cpp with 100% similarity]
source/blender/freestyle/intern/python/StrokeShader/BPy_TextureAssignerShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader/TextureAssignerShader.cpp with 100% similarity]
source/blender/freestyle/intern/python/StrokeShader/BPy_ThicknessNoiseShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader/ThicknessNoiseShader.cpp with 100% similarity]
source/blender/freestyle/intern/python/StrokeShader/BPy_ThicknessVariationPatternShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader/ThicknessVariationPatternShader.cpp with 100% similarity]
source/blender/freestyle/intern/python/StrokeShader/BPy_TipRemoverShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader/TipRemoverShader.cpp with 100% similarity]
source/blender/freestyle/intern/python/StrokeShader/BPy_fstreamShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader/fstreamShader.cpp with 100% similarity]
source/blender/freestyle/intern/python/StrokeShader/BPy_streamShader.cpp [moved from source/blender/freestyle/intern/python/StrokeShader/streamShader.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0DDouble.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0DFloat.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DId.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0DId.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0DUnsigned.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec2f.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0DVec2f.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec3f.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0DVec3f.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0DVectorViewShape.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0DViewShape.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Id/BPy_ShapeIdF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Id/ShapeIdF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Material/BPy_MaterialF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Material/MaterialF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Nature_EdgeNature/BPy_CurveNatureF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Nature_EdgeNature/CurveNatureF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Vec2f/BPy_Normal2DF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Vec2f/Normal2DF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Vec2f/BPy_VertexOrientation2DF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Vec2f/VertexOrientation2DF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Vec3f/BPy_VertexOrientation3DF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Vec3f/VertexOrientation3DF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_ViewShape/BPy_GetOccludeeF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_ViewShape/GetOccludeeF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_ViewShape/BPy_GetShapeF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_ViewShape/GetShapeF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_double/BPy_DensityF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_double/DensityF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_double/BPy_LocalAverageDepthF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_double/LocalAverageDepthF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/BPy_GetCurvilinearAbscissaF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/GetCurvilinearAbscissaF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/BPy_GetParameterF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/GetParameterF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/BPy_GetViewMapGradientNormF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/GetViewMapGradientNormF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/BPy_ReadCompleteViewMapPixelF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/ReadCompleteViewMapPixelF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/BPy_ReadMapPixelF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/ReadMapPixelF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/BPy_ReadSteerableViewMapPixelF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/ReadSteerableViewMapPixelF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_real/BPy_Curvature2DAngleF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_real/Curvature2DAngleF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_real/BPy_GetProjectedXF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_real/GetProjectedXF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_real/BPy_GetProjectedYF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_real/GetProjectedYF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_real/BPy_GetProjectedZF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_real/GetProjectedZF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_real/BPy_GetXF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_real/GetXF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_real/BPy_GetYF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_real/GetYF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_real/BPy_GetZF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_real/GetZF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_real/BPy_ZDiscontinuityF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_real/ZDiscontinuityF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_unsigned_int/BPy_QuantitativeInvisibilityF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_unsigned_int/QuantitativeInvisibilityF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_vector_ViewShape/BPy_GetOccludersF0D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_vector_ViewShape/GetOccludersF0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1DDouble.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1DFloat.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DUnsigned.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1DUnsigned.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec2f.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1DVec2f.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec3f.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1DVec3f.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVectorViewShape.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1DVectorViewShape.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_Nature_EdgeNature/BPy_CurveNatureF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_Nature_EdgeNature/CurveNatureF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_Vec2f/BPy_Normal2DF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_Vec2f/Normal2DF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_Vec2f/BPy_Orientation2DF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_Vec2f/Orientation2DF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_Vec3f/BPy_Orientation3DF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_Vec3f/Orientation3DF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_DensityF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/DensityF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetCompleteViewMapDensityF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/GetCompleteViewMapDensityF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetDirectionalViewMapDensityF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/GetDirectionalViewMapDensityF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_LocalAverageDepthF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/LocalAverageDepthF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_real/BPy_Curvature2DAngleF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_real/Curvature2DAngleF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_real/BPy_GetProjectedXF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_real/GetProjectedXF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_real/BPy_GetProjectedYF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_real/GetProjectedYF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_real/BPy_GetProjectedZF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_real/GetProjectedZF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_real/BPy_GetSteerableViewMapDensityF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_real/GetSteerableViewMapDensityF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_real/BPy_GetViewMapGradientNormF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_real/GetViewMapGradientNormF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_real/BPy_GetXF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_real/GetXF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_real/BPy_GetYF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_real/GetYF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_real/BPy_GetZF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_real/GetZF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_real/BPy_ZDiscontinuityF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_real/ZDiscontinuityF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_unsigned/BPy_QuantitativeInvisibilityF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_unsigned/QuantitativeInvisibilityF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_vector_ViewShape/BPy_GetOccludeeF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_vector_ViewShape/GetOccludeeF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_vector_ViewShape/BPy_GetOccludersF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_vector_ViewShape/GetOccludersF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_vector_ViewShape/BPy_GetShapeF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_vector_ViewShape/GetShapeF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_void/BPy_ChainingTimeStampF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_void/ChainingTimeStampF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_void/BPy_IncrementChainingTimeStampF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_void/IncrementChainingTimeStampF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_void/BPy_TimeStampF1D.cpp [moved from source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_void/TimeStampF1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryPredicate0D/BPy_FalseUP0D.cpp [moved from source/blender/freestyle/intern/python/UnaryPredicate0D/FalseUP0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryPredicate0D/BPy_TrueUP0D.cpp [moved from source/blender/freestyle/intern/python/UnaryPredicate0D/TrueUP0D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ContourUP1D.cpp [moved from source/blender/freestyle/intern/python/UnaryPredicate1D/ContourUP1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_DensityLowerThanUP1D.cpp [moved from source/blender/freestyle/intern/python/UnaryPredicate1D/DensityLowerThanUP1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_EqualToChainingTimeStampUP1D.cpp [moved from source/blender/freestyle/intern/python/UnaryPredicate1D/EqualToChainingTimeStampUP1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_EqualToTimeStampUP1D.cpp [moved from source/blender/freestyle/intern/python/UnaryPredicate1D/EqualToTimeStampUP1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ExternalContourUP1D.cpp [moved from source/blender/freestyle/intern/python/UnaryPredicate1D/ExternalContourUP1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_FalseUP1D.cpp [moved from source/blender/freestyle/intern/python/UnaryPredicate1D/FalseUP1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_QuantitativeInvisibilityUP1D.cpp [moved from source/blender/freestyle/intern/python/UnaryPredicate1D/QuantitativeInvisibilityUP1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ShapeUP1D.cpp [moved from source/blender/freestyle/intern/python/UnaryPredicate1D/ShapeUP1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_TrueUP1D.cpp [moved from source/blender/freestyle/intern/python/UnaryPredicate1D/TrueUP1D.cpp with 100% similarity]
source/blender/freestyle/intern/python/ViewEdgeIterator/BPy_ChainingIterator.cpp [moved from source/blender/freestyle/intern/python/ViewEdgeIterator/ChainingIterator.cpp with 100% similarity]
source/blender/freestyle/intern/python/ViewEdgeIterator/ChainingIterator/BPy_ChainPredicateIterator.cpp [moved from source/blender/freestyle/intern/python/ViewEdgeIterator/ChainingIterator/ChainPredicateIterator.cpp with 100% similarity]
source/blender/freestyle/intern/python/ViewEdgeIterator/ChainingIterator/BPy_ChainSilhouetteIterator.cpp [moved from source/blender/freestyle/intern/python/ViewEdgeIterator/ChainingIterator/ChainSilhouetteIterator.cpp with 100% similarity]
source/blender/python/api2_2x/Blender.c

index 12b649c362d347d926f02b3cdd93af00d824e6a6..94e8b7163fba38505d15debac554f069e129393b 100644 (file)
@@ -60,28 +60,28 @@ app_sources = env.Glob(prefix + '/*.cpp')
 prefix = 'intern/python'
 # python_sources = env.Glob(prefix + '/*.cpp')
 python_sources = [
-                                       prefix + '/Freestyle.cpp',
-                                       prefix + '/Convert.cpp',
-                                       prefix + '/BinaryPredicate0D.cpp',
-                                       prefix + '/BinaryPredicate1D.cpp',
-                                       prefix + '/Id.cpp',
-                                       prefix + '/IntegrationType.cpp',
-                                       prefix + '/Interface0D.cpp',
-                                       prefix + '/Interface0D/CurvePoint.cpp',
-                                       prefix + '/Interface0D/CurvePoint/StrokeVertex.cpp',
-                                       prefix + '/Interface0D/SVertex.cpp',
-                                       prefix + '/Interface0D/ViewVertex.cpp',
-                                       prefix + '/Interface1D.cpp',
-                                       prefix + '/Interface1D/FEdge.cpp',
-                                       prefix + '/Interface1D/Stroke.cpp',
-                                       prefix + '/Nature.cpp',
-                                       prefix + '/MediumType.cpp',
-                                       prefix + '/StrokeAttribute.cpp',
-                                       prefix + '/StrokeShader.cpp',
-                                       prefix + '/UnaryFunction0D.cpp',
-                                       prefix + '/UnaryFunction1D.cpp',
-                                       prefix + '/UnaryPredicate0D.cpp',
-                                       prefix + '/UnaryPredicate1D.cpp',
+                                       prefix + '/BPy_Freestyle.cpp',
+                                       prefix + '/BPy_Convert.cpp',
+                                       prefix + '/BPy_BinaryPredicate0D.cpp',
+                                       prefix + '/BPy_BinaryPredicate1D.cpp',
+                                       prefix + '/BPy_Id.cpp',
+                                       prefix + '/BPy_IntegrationType.cpp',
+                                       prefix + '/BPy_Interface0D.cpp',
+                                       prefix + '/Interface0D/BPy_CurvePoint.cpp',
+                                       prefix + '/Interface0D/CurvePoint/BPy_StrokeVertex.cpp',
+                                       prefix + '/Interface0D/BPy_SVertex.cpp',
+                                       prefix + '/Interface0D/BPy_ViewVertex.cpp',
+                                       prefix + '/BPy_Interface1D.cpp',
+                                       prefix + '/Interface1D/BPy_FEdge.cpp',
+                                       prefix + '/Interface1D/BPy_Stroke.cpp',
+                                       prefix + '/BPy_MediumType.cpp',
+                                       prefix + '/BPy_Nature.cpp',
+                                       prefix + '/BPy_StrokeAttribute.cpp',
+                                       prefix + '/BPy_StrokeShader.cpp',
+                                       prefix + '/BPy_UnaryFunction0D.cpp',
+                                       prefix + '/BPy_UnaryFunction1D.cpp',
+                                       prefix + '/BPy_UnaryPredicate0D.cpp',
+                                       prefix + '/BPy_UnaryPredicate1D.cpp',
                                ]
 
 sources =      system_sources + image_sources + geometry_sources + scene_graph_sources \
similarity index 98%
rename from source/blender/freestyle/intern/python/BinaryPredicate0D.cpp
rename to source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp
index 67358c65bbf61b13a8217f1d8f07303f3c15cb20..9c3247b30b88a2f870e8c300a816e6af3fb95038 100644 (file)
@@ -1,7 +1,7 @@
-#include "BinaryPredicate0D.h"
+#include "BPy_BinaryPredicate0D.h"
 
-#include "Convert.h"
-#include "Interface0D.h"
+#include "BPy_Convert.h"
+#include "BPy_Interface0D.h"
 
 #ifdef __cplusplus
 extern "C" {
similarity index 98%
rename from source/blender/freestyle/intern/python/BinaryPredicate1D.cpp
rename to source/blender/freestyle/intern/python/BPy_BinaryPredicate1D.cpp
index bf2772ecdcc7ca2751ea609a6343f913fea44e66..9dd2bd19204746820a54678e6394664e8882d018 100644 (file)
@@ -1,7 +1,7 @@
-#include "BinaryPredicate1D.h"
+#include "BPy_BinaryPredicate1D.h"
 
-#include "Convert.h"
-#include "Interface1D.h"
+#include "BPy_Convert.h"
+#include "BPy_Interface1D.h"
 
 #ifdef __cplusplus
 extern "C" {
similarity index 97%
rename from source/blender/freestyle/intern/python/Convert.cpp
rename to source/blender/freestyle/intern/python/BPy_Convert.cpp
index 410afe99d6385941dcf96f37fc74ffa7e54a1f47..843bdc7c7d13b70b74a6a5e6478d0e139c6e263d 100644 (file)
@@ -1,4 +1,4 @@
-#include "Convert.h"
+#include "BPy_Convert.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -82,7 +82,7 @@ PyObject * BPy_StrokeAttribute_from_StrokeAttribute( StrokeAttribute& sa ) {
        return py_sa;   
 }
 
-PyObject * BPy_MediumType_from_MediumType( unsigned short n ) {
+PyObject * BPy_MediumType_from_MediumType( int n ) {
        PyObject *py_mt =  MediumType_Type.tp_new( &MediumType_Type, 0, 0 );
 
        PyObject *args = PyTuple_New(1);
similarity index 75%
rename from source/blender/freestyle/intern/python/Convert.h
rename to source/blender/freestyle/intern/python/BPy_Convert.h
index 3caf8bf67f9fbc9e8273ccf30e53d331238ca9d9..8e935f6e229a14062fd7ef5a81723f929cc5e6f4 100644 (file)
@@ -4,15 +4,15 @@
 #include "../geometry/Geom.h"
 using namespace Geometry;
 
-#include "Id.h"
-#include "IntegrationType.h"
-#include "Interface0D.h"
-#include "Interface0D/CurvePoint/StrokeVertex.h"
-#include "Interface0D/SVertex.h"
-#include "Interface1D/FEdge.h"
-#include "Nature.h"
-#include "MediumType.h"
-#include "StrokeAttribute.h"
+#include "BPy_Id.h"
+#include "BPy_IntegrationType.h"
+#include "BPy_Interface0D.h"
+#include "Interface0D/CurvePoint/BPy_StrokeVertex.h"
+#include "Interface0D/BPy_SVertex.h"
+#include "Interface1D/BPy_FEdge.h"
+#include "BPy_Nature.h"
+#include "BPy_MediumType.h"
+#include "BPy_StrokeAttribute.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -34,7 +34,7 @@ PyObject * BPy_FEdge_from_FEdge( FEdge& fe );
 PyObject * BPy_Id_from_Id( Id& id );
 PyObject * BPy_Interface0D_from_Interface0D( Interface0D& if0D );
 PyObject * BPy_Nature_from_Nature( unsigned short n );
-PyObject * BPy_MediumType_from_MediumType( unsigned short n );
+PyObject * BPy_MediumType_from_MediumType( int n );
 PyObject * BPy_StrokeAttribute_from_StrokeAttribute( StrokeAttribute& sa );
 PyObject * BPy_StrokeVertex_from_StrokeVertex( StrokeVertex& sv );
 PyObject * BPy_SVertex_from_SVertex( SVertex& sv );
similarity index 89%
rename from source/blender/freestyle/intern/python/Freestyle.cpp
rename to source/blender/freestyle/intern/python/BPy_Freestyle.cpp
index 2f93f1f8a74a693f913269449c31ab46972f0c70..bbb4acf4f85b2be01e962884282e6e1ea0dd574d 100644 (file)
@@ -1,19 +1,20 @@
-#include "Freestyle.h"
-
-#include "BinaryPredicate0D.h"
-#include "BinaryPredicate1D.h"
-#include "Id.h"
-#include "IntegrationType.h"
-#include "Interface0D.h"
-#include "Interface0D/CurvePoint.h"
-#include "Interface1D.h"
-#include "Nature.h"
-#include "StrokeAttribute.h"
-#include "StrokeShader.h"
-#include "UnaryFunction0D.h"
-#include "UnaryFunction1D.h"
-#include "UnaryPredicate0D.h"
-#include "UnaryPredicate1D.h"
+#include "BPy_Freestyle.h"
+
+#include "BPy_BinaryPredicate0D.h"
+#include "BPy_BinaryPredicate1D.h"
+#include "BPy_Id.h"
+#include "BPy_IntegrationType.h"
+#include "BPy_Interface0D.h"
+#include "Interface0D/BPy_CurvePoint.h"
+#include "BPy_Interface1D.h"
+#include "BPy_MediumType.h"
+#include "BPy_Nature.h"
+#include "BPy_StrokeAttribute.h"
+#include "BPy_StrokeShader.h"
+#include "BPy_UnaryFunction0D.h"
+#include "BPy_UnaryFunction1D.h"
+#include "BPy_UnaryPredicate0D.h"
+#include "BPy_UnaryPredicate1D.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -128,14 +129,19 @@ PyObject *Freestyle_Init( void )
        // initialize modules
        module = Py_InitModule3( "Blender.Freestyle", M_Freestyle_methods, M_Freestyle_doc );
        
+       
        // attach its classes (adding the object types to the module)
+       
+       // those classes have to be initialized before the others
+       MediumType_Init( module );
+       Nature_Init( module );
+       
        BinaryPredicate0D_Init( module );
        BinaryPredicate1D_Init( module );
        Id_Init( module );
        IntegrationType_Init( module );
        Interface0D_Init( module );
        Interface1D_Init( module );
-       Nature_Init( module );
        StrokeAttribute_Init( module );
        StrokeShader_Init( module );
        UnaryFunction0D_Init( module );
similarity index 99%
rename from source/blender/freestyle/intern/python/Id.cpp
rename to source/blender/freestyle/intern/python/BPy_Id.cpp
index 4f2964d8060aecde8133e75ddf729ae8c2ff5655..7d8ea07d56385fd273cbc503094ef2f1b129a2c6 100644 (file)
@@ -1,6 +1,6 @@
-#include "Id.h"
+#include "BPy_Id.h"
 
-#include "Convert.h"
+#include "BPy_Convert.h"
 
 #ifdef __cplusplus
 extern "C" {
similarity index 98%
rename from source/blender/freestyle/intern/python/IntegrationType.cpp
rename to source/blender/freestyle/intern/python/BPy_IntegrationType.cpp
index ff6bd3d4794472f56d8699ff7f7e16f868108b7c..9c21557da3da0d3b2739cd729fdd530cd84fac38 100644 (file)
@@ -1,6 +1,6 @@
-#include "IntegrationType.h"
+#include "BPy_IntegrationType.h"
 
-#include "Convert.h"
+#include "BPy_Convert.h"
 
 #ifdef __cplusplus
 extern "C" {
similarity index 97%
rename from source/blender/freestyle/intern/python/Interface0D.cpp
rename to source/blender/freestyle/intern/python/BPy_Interface0D.cpp
index 4c3e0af0edb7f518395ed1819e159f01233d3f85..defe76464eba26e508e8d7ae88754165ec2440bc 100644 (file)
@@ -1,12 +1,12 @@
-#include "Interface0D.h"
-
-#include "Convert.h"
-#include "Interface0D/CurvePoint.h"
-#include "Interface0D/CurvePoint/StrokeVertex.h"
-#include "Interface0D/SVertex.h"
-#include "Interface0D/ViewVertex.h"
-#include "Interface1D/FEdge.h"
-#include "Nature.h"
+#include "BPy_Interface0D.h"
+
+#include "BPy_Convert.h"
+#include "Interface0D/BPy_CurvePoint.h"
+#include "Interface0D/CurvePoint/BPy_StrokeVertex.h"
+#include "Interface0D/BPy_SVertex.h"
+#include "Interface0D/BPy_ViewVertex.h"
+#include "Interface1D/BPy_FEdge.h"
+#include "BPy_Nature.h"
 
 #ifdef __cplusplus
 extern "C" {
similarity index 98%
rename from source/blender/freestyle/intern/python/Interface1D.cpp
rename to source/blender/freestyle/intern/python/BPy_Interface1D.cpp
index f1a14b5d62fe0d9837121c449d9a3197b7f1406e..113fc3f1cf7d2d77b3500683500768e92a6f1598 100644 (file)
@@ -1,9 +1,9 @@
-#include "Interface1D.h"
+#include "BPy_Interface1D.h"
 
-#include "Convert.h"
-#include "Interface1D/FEdge.h"
-#include "Interface1D/Stroke.h"
-#include "MediumType.h"
+#include "BPy_Convert.h"
+#include "Interface1D/BPy_FEdge.h"
+#include "Interface1D/BPy_Stroke.h"
+#include "BPy_MediumType.h"
 
 #ifdef __cplusplus
 extern "C" {
similarity index 93%
rename from source/blender/freestyle/intern/python/MediumType.cpp
rename to source/blender/freestyle/intern/python/BPy_MediumType.cpp
index f0c5fcc58a4155980045e9e08e3f8bfa96f95fed..b889d2b5c2f7596a38af06da8e67ead128ae94dd 100644 (file)
@@ -1,6 +1,6 @@
-#include "MediumType.h"
+#include "BPy_MediumType.h"
 
-#include "Convert.h"
+#include "BPy_Convert.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -103,6 +103,18 @@ PyTypeObject MediumType_Type = {
 
 //-------------------MODULE INITIALIZATION--------------------------------
 
+PyMODINIT_FUNC MediumType_Init( PyObject *module )
+{      
+       if( module == NULL )
+               return;
+
+       if( PyType_Ready( &MediumType_Type ) < 0 )
+               return;
+       Py_INCREF( &MediumType_Type );
+       PyModule_AddObject(module, "MediumType", (PyObject *)&MediumType_Type);
+
+}
+
 int MediumType___init__(BPy_MediumType *self, PyObject *args, PyObject *kwds)
 {
     if (PyInt_Type.tp_init((PyObject *)self, args, kwds) < 0)
similarity index 99%
rename from source/blender/freestyle/intern/python/Nature.cpp
rename to source/blender/freestyle/intern/python/BPy_Nature.cpp
index 14357949022dd2b48f5dc643f870b9b7c354aa3c..8a29bdb5bdf3db1d20fc913726d6317f593b3543 100644 (file)
@@ -1,6 +1,6 @@
-#include "Nature.h"
+#include "BPy_Nature.h"
 
-#include "Convert.h"
+#include "BPy_Convert.h"
 
 #ifdef __cplusplus
 extern "C" {
similarity index 99%
rename from source/blender/freestyle/intern/python/StrokeAttribute.cpp
rename to source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp
index b9f37dfa1659b21ff30f4518636f462b05ec2e3d..24c0263bc5fb443447ae1b42c74e28c06c82c444 100644 (file)
@@ -1,6 +1,6 @@
-#include "StrokeAttribute.h"
+#include "BPy_StrokeAttribute.h"
 
-#include "Convert.h"
+#include "BPy_Convert.h"
 
 #ifdef __cplusplus
 extern "C" {
similarity index 98%
rename from source/blender/freestyle/intern/python/StrokeShader.cpp
rename to source/blender/freestyle/intern/python/BPy_StrokeShader.cpp
index 029f8776c7313971f1c5ae9eab3fa345fec66300..cdca779dafb777278fc2317edbbc6e430d2fc60a 100644 (file)
@@ -1,7 +1,7 @@
-#include "StrokeShader.h"
+#include "BPy_StrokeShader.h"
 
-#include "Convert.h"
-#include "Interface1D/Stroke.h"
+#include "BPy_Convert.h"
+#include "Interface1D/BPy_Stroke.h"
 
 #ifdef __cplusplus
 extern "C" {
similarity index 99%
rename from source/blender/freestyle/intern/python/UnaryFunction0D.cpp
rename to source/blender/freestyle/intern/python/BPy_UnaryFunction0D.cpp
index b9da3dfc20d4563e47f9898fd4acfb1aaebda1ea..dda236a0989ea4801d6ba7ca3a8372ee6f09d3d7 100644 (file)
@@ -1,6 +1,6 @@
-#include "UnaryFunction0D.h"
+#include "BPy_UnaryFunction0D.h"
 
-#include "Convert.h"
+#include "BPy_Convert.h"
 
 #ifdef __cplusplus
 extern "C" {
similarity index 99%
rename from source/blender/freestyle/intern/python/UnaryFunction1D.cpp
rename to source/blender/freestyle/intern/python/BPy_UnaryFunction1D.cpp
index db026ced3382782198208aedd2433a02d3aad24b..70f6feb02d36ad364a1d77e95f4d60523a8d2425 100644 (file)
@@ -1,6 +1,6 @@
-#include "UnaryFunction1D.h"
+#include "BPy_UnaryFunction1D.h"
 
-#include "Convert.h"
+#include "BPy_Convert.h"
 
 #ifdef __cplusplus
 extern "C" {
similarity index 98%
rename from source/blender/freestyle/intern/python/UnaryPredicate0D.cpp
rename to source/blender/freestyle/intern/python/BPy_UnaryPredicate0D.cpp
index 1d2fd6b284fd675743e6d7292a95e14eecb472b4..29ea68c01ca542deffba1fe20e5b296152710860 100644 (file)
@@ -1,6 +1,6 @@
-#include "UnaryPredicate0D.h"
+#include "BPy_UnaryPredicate0D.h"
 
-#include "Convert.h"
+#include "BPy_Convert.h"
 
 #ifdef __cplusplus
 extern "C" {
similarity index 98%
rename from source/blender/freestyle/intern/python/UnaryPredicate1D.cpp
rename to source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp
index bbbc9bfcc433b5f4da47add1a31d36d5d897c179..b00422a0aabb31d652ad4b4d2f0ff32d0f06c863 100644 (file)
@@ -1,6 +1,6 @@
-#include "UnaryPredicate1D.h"
+#include "BPy_UnaryPredicate1D.h"
 
-#include "Convert.h"
+#include "BPy_Convert.h"
 
 #ifdef __cplusplus
 extern "C" {
similarity index 99%
rename from source/blender/freestyle/intern/python/Interface0D/CurvePoint.cpp
rename to source/blender/freestyle/intern/python/Interface0D/BPy_CurvePoint.cpp
index e1cf63727e5ac5d0f9da8ec8bdbf42b193d95d4c..6765bc84baafd281f6bc6d2a55d35e1c2db6dd07 100644 (file)
@@ -1,6 +1,6 @@
-#include "CurvePoint.h"
+#include "BPy_CurvePoint.h"
 
-#include "../Convert.h"
+#include "../BPy_Convert.h"
 
 #ifdef __cplusplus
 extern "C" {
similarity index 95%
rename from source/blender/freestyle/intern/python/Interface0D/CurvePoint.h
rename to source/blender/freestyle/intern/python/Interface0D/BPy_CurvePoint.h
index e40f261504ff4f3e6f504c1e2beccf2b7af3e026..c2a8023b7454fc0320266e7c34bd404af4375a0a 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef FREESTYLE_PYTHON_CURVEPOINT_H
 #define FREESTYLE_PYTHON_CURVEPOINT_H
 
-#include "../Interface0D.h"
+#include "../BPy_Interface0D.h"
 #include "../../stroke/Curve.h"
 
 #ifdef __cplusplus
similarity index 99%
rename from source/blender/freestyle/intern/python/Interface0D/SVertex.cpp
rename to source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp
index d0c622d1df295ac92b8f7aa16d0eb2ff98302d32..bbfff34cb20b0ec8ec9e0197cd409032cc7e02da 100644 (file)
@@ -1,7 +1,7 @@
-#include "SVertex.h"
+#include "BPy_SVertex.h"
 
-#include "../Convert.h"
-#include "../Id.h"
+#include "../BPy_Convert.h"
+#include "../BPy_Id.h"
 
 #ifdef __cplusplus
 extern "C" {
similarity index 95%
rename from source/blender/freestyle/intern/python/Interface0D/SVertex.h
rename to source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.h
index 099417b51394c29fe1d01ce853326837277090c5..95b7d833d65fb220078515870bc91930bc05d5df 100644 (file)
@@ -2,7 +2,7 @@
 #define FREESTYLE_PYTHON_SVERTEX_H
 
 #include "../../view_map/Silhouette.h"
-#include "../Interface0D.h"
+#include "../BPy_Interface0D.h"
 
 
 #ifdef __cplusplus
similarity index 98%
rename from source/blender/freestyle/intern/python/Interface0D/ViewVertex.cpp
rename to source/blender/freestyle/intern/python/Interface0D/BPy_ViewVertex.cpp
index 6168d1fb711ebb9a73b6ff854b54f41dcec84143..7e6ef8590fde05838a13f1279f05929037b8fd0f 100644 (file)
@@ -1,6 +1,6 @@
-#include "ViewVertex.h"
+#include "BPy_ViewVertex.h"
 
-#include "../Convert.h"
+#include "../BPy_Convert.h"
 
 #ifdef __cplusplus
 extern "C" {
similarity index 95%
rename from source/blender/freestyle/intern/python/Interface0D/ViewVertex.h
rename to source/blender/freestyle/intern/python/Interface0D/BPy_ViewVertex.h
index 98bcb9bac90f05b320a3fdadd39f0f8bd9b127ac..b70a69c95e7256846c920f8ead781754fd214efb 100644 (file)
@@ -2,7 +2,7 @@
 #define FREESTYLE_PYTHON_VIEWVERTEX_H
 
 #include "../../view_map/ViewMap.h"
-#include "../Interface0D.h"
+#include "../BPy_Interface0D.h"
 
 
 #ifdef __cplusplus
similarity index 99%
rename from source/blender/freestyle/intern/python/Interface0D/CurvePoint/StrokeVertex.cpp
rename to source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.cpp
index 9d07125476e0536f5937ae0c001a34b169cbfdf7..2039b165457c089196f726b4c87e617c8eeacd09 100644 (file)
@@ -1,7 +1,7 @@
-#include "StrokeVertex.h"
+#include "BPy_StrokeVertex.h"
 
-#include "../../Convert.h"
-#include "../../StrokeAttribute.h"
+#include "../../BPy_Convert.h"
+#include "../../BPy_StrokeAttribute.h"
 
 #ifdef __cplusplus
 extern "C" {
similarity index 95%
rename from source/blender/freestyle/intern/python/Interface0D/CurvePoint/StrokeVertex.h
rename to source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.h
index 4bc33ea40581c4c1e6ac3f5ca453e4b9eb1b8240..f1c54ed00416f82f910b12ce767a84dbe26532a0 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef FREESTYLE_PYTHON_STROKEVERTEX_H
 #define FREESTYLE_PYTHON_STROKEVERTEX_H
 
-#include "../CurvePoint.h"
+#include "../BPy_CurvePoint.h"
 #include "../../../stroke/Stroke.h"
 
 #ifdef __cplusplus
similarity index 99%
rename from source/blender/freestyle/intern/python/Interface1D/FEdge.cpp
rename to source/blender/freestyle/intern/python/Interface1D/BPy_FEdge.cpp
index 0cdfb9f1e0de3fd6bbb30b49d8c5cf816a522668..56dc76f0acd254206ddcb53c441a9e79dd9d62d4 100644 (file)
@@ -1,7 +1,7 @@
-#include "FEdge.h"
+#include "BPy_FEdge.h"
 
-#include "../Convert.h"
-#include "../Interface0D/SVertex.h"
+#include "../BPy_Convert.h"
+#include "../Interface0D/BPy_SVertex.h"
 
 #ifdef __cplusplus
 extern "C" {
similarity index 95%
rename from source/blender/freestyle/intern/python/Interface1D/FEdge.h
rename to source/blender/freestyle/intern/python/Interface1D/BPy_FEdge.h
index 230a5f369544ea856b1af9785d4d640d0d225606..c54dbee98b7322499eb441f701a00fe59affde1b 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef FREESTYLE_PYTHON_FEDGE_H
 #define FREESTYLE_PYTHON_FEDGE_H
 
-#include "../Interface1D.h"
+#include "../BPy_Interface1D.h"
 #include "../../view_map/Silhouette.h"
 
 #ifdef __cplusplus
similarity index 99%
rename from source/blender/freestyle/intern/python/Interface1D/Stroke.cpp
rename to source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.cpp
index 9951f21a0e102b6bad92758e31ab025050ca998d..8027f625cc52521740ce213ec8278ceed771cae3 100644 (file)
@@ -1,7 +1,7 @@
-#include "Stroke.h"
+#include "BPy_Stroke.h"
 
-#include "../Convert.h"
-#include "../Interface0D/SVertex.h"
+#include "../BPy_Convert.h"
+#include "../Interface0D/BPy_SVertex.h"
 #include "../../stroke/StrokeIterators.h"
 
 #ifdef __cplusplus
similarity index 95%
rename from source/blender/freestyle/intern/python/Interface1D/Stroke.h
rename to source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.h
index fc4b426fd5384269c187221e24ae00034bb75b6a..52c6d214b85cf38cd2d2617f760ba311e1e86e05 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef FREESTYLE_PYTHON_STROKE_H
 #define FREESTYLE_PYTHON_STROKE_H
 
-#include "../Interface1D.h"
+#include "../BPy_Interface1D.h"
 #include "../../stroke/Stroke.h"
 
 #ifdef __cplusplus
index 71675ade60584e3f434594d283e39c8216f397ea..9d3d89a660b47822731cac2fe918dfae4440c03e 100644 (file)
@@ -97,7 +97,8 @@ struct ID; /*keep me up here */
 #include "World.h"
 #include "Types.h"
 #include "Particle.h"
-#include "Freestyle.h"
+
+#include "BPy_Freestyle.h"
 
 /**********************************************************/
 /* Python API function prototypes for the Blender module.      */