[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [49436] trunk/blender: style cleanup: whitespace, also add '?' to save over popup since it wasnt totally clear it was a question ( user pointed this out, they thought it was just notification and lost their work).

Campbell Barton ideasman42 at gmail.com
Wed Aug 1 01:06:14 CEST 2012


Revision: 49436
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=49436
Author:   campbellbarton
Date:     2012-07-31 23:06:12 +0000 (Tue, 31 Jul 2012)
Log Message:
-----------
style cleanup: whitespace, also add '?' to save over popup since it wasnt totally clear it was a question (user pointed this out, they thought it was just notification and lost their work).

Modified Paths:
--------------
    trunk/blender/intern/audaspace/FX/AUD_ButterworthFactory.h
    trunk/blender/intern/audaspace/FX/AUD_DynamicIIRFilterFactory.h
    trunk/blender/intern/audaspace/FX/AUD_FaderFactory.h
    trunk/blender/intern/audaspace/intern/AUD_3DMath.h
    trunk/blender/intern/audaspace/intern/AUD_C-API.h
    trunk/blender/intern/boolop/intern/BOP_BSPNode.h
    trunk/blender/intern/boolop/intern/BOP_BSPTree.h
    trunk/blender/intern/cycles/kernel/kernel_montecarlo.h
    trunk/blender/intern/ghost/GHOST_IWindow.h
    trunk/blender/source/blender/blenkernel/BKE_node.h
    trunk/blender/source/blender/editors/include/ED_object.h
    trunk/blender/source/blender/editors/interface/interface_regions.c
    trunk/blender/source/blender/windowmanager/WM_api.h
    trunk/blender/source/gameengine/Ketsji/KX_Scene.h
    trunk/blender/source/gameengine/Physics/common/PHY_DynamicTypes.h
    trunk/blender/source/gameengine/Rasterizer/RAS_IRenderTools.h

Modified: trunk/blender/intern/audaspace/FX/AUD_ButterworthFactory.h
===================================================================
--- trunk/blender/intern/audaspace/FX/AUD_ButterworthFactory.h	2012-07-31 22:15:54 UTC (rev 49435)
+++ trunk/blender/intern/audaspace/FX/AUD_ButterworthFactory.h	2012-07-31 23:06:12 UTC (rev 49436)
@@ -56,8 +56,8 @@
 	AUD_ButterworthFactory(AUD_Reference<AUD_IFactory> factory, float frequency);
 
 	virtual void recalculateCoefficients(AUD_SampleRate rate,
-										 std::vector<float>& b,
-										 std::vector<float>& a);
+	                                     std::vector<float>& b,
+	                                     std::vector<float>& a);
 };
 
 #endif //__AUD_BUTTERWORTHFACTORY_H__

Modified: trunk/blender/intern/audaspace/FX/AUD_DynamicIIRFilterFactory.h
===================================================================
--- trunk/blender/intern/audaspace/FX/AUD_DynamicIIRFilterFactory.h	2012-07-31 22:15:54 UTC (rev 49435)
+++ trunk/blender/intern/audaspace/FX/AUD_DynamicIIRFilterFactory.h	2012-07-31 23:06:12 UTC (rev 49436)
@@ -56,8 +56,8 @@
 	 * \param[out] a The output filter coefficients.
 	 */
 	virtual void recalculateCoefficients(AUD_SampleRate rate,
-										 std::vector<float>& b,
-										 std::vector<float>& a)=0;
+	                                     std::vector<float>& b,
+	                                     std::vector<float>& a)=0;
 };
 
 #endif // __AUD_DYNAMICIIRFILTERFACTORY_H__

Modified: trunk/blender/intern/audaspace/FX/AUD_FaderFactory.h
===================================================================
--- trunk/blender/intern/audaspace/FX/AUD_FaderFactory.h	2012-07-31 22:15:54 UTC (rev 49435)
+++ trunk/blender/intern/audaspace/FX/AUD_FaderFactory.h	2012-07-31 23:06:12 UTC (rev 49436)
@@ -68,8 +68,8 @@
 	 * \param length How long fading should last in seconds.
 	 */
 	AUD_FaderFactory(AUD_Reference<AUD_IFactory> factory,
-					  AUD_FadeType type = AUD_FADE_IN,
-					  float start = 0.0f, float length = 1.0f);
+	                 AUD_FadeType type = AUD_FADE_IN,
+	                 float start = 0.0f, float length = 1.0f);
 
 	/**
 	 * Returns the fading type.

Modified: trunk/blender/intern/audaspace/intern/AUD_3DMath.h
===================================================================
--- trunk/blender/intern/audaspace/intern/AUD_3DMath.h	2012-07-31 22:15:54 UTC (rev 49435)
+++ trunk/blender/intern/audaspace/intern/AUD_3DMath.h	2012-07-31 23:06:12 UTC (rev 49436)
@@ -136,8 +136,8 @@
 	inline AUD_Vector3 cross(const AUD_Vector3& op) const
 	{
 		return AUD_Vector3(m_y * op.m_z - m_z * op.m_y,
-						   m_z * op.m_x - m_x * op.m_z,
-						   m_x * op.m_y - m_y * op.m_x);
+		                   m_z * op.m_x - m_x * op.m_z,
+		                   m_x * op.m_y - m_y * op.m_x);
 	}
 
 	/**

Modified: trunk/blender/intern/audaspace/intern/AUD_C-API.h
===================================================================
--- trunk/blender/intern/audaspace/intern/AUD_C-API.h	2012-07-31 22:15:54 UTC (rev 49435)
+++ trunk/blender/intern/audaspace/intern/AUD_C-API.h	2012-07-31 23:06:12 UTC (rev 49436)
@@ -442,10 +442,10 @@
  * The sound is therefore bandpassed, rectified and resampled.
  */
 extern float* AUD_readSoundBuffer(const char* filename, float low, float high,
-								  float attack, float release, float threshold,
-								  int accumulate, int additive, int square,
-								  float sthreshold, double samplerate,
-								  int* length);
+                                  float attack, float release, float threshold,
+                                  int accumulate, int additive, int square,
+                                  float sthreshold, double samplerate,
+                                  int* length);
 
 /**
  * Pauses a playing sound after a specific amount of time.
@@ -493,7 +493,7 @@
  * \return The entry added.
  */
 extern AUD_SEntry* AUD_addSequence(AUD_Sound* sequencer, AUD_Sound* sound,
-								   float begin, float end, float skip);
+                                   float begin, float end, float skip);
 
 /**
  * Removes an entry from the scene.
@@ -567,8 +567,8 @@
  * \param cone_volume_outer The volume outside the outer cone.
  */
 extern void AUD_updateSequenceData(AUD_SEntry* entry, float volume_max, float volume_min,
-								   float distance_max, float distance_reference, float attenuation,
-								   float cone_angle_outer, float cone_angle_inner, float cone_volume_outer);
+                                   float distance_max, float distance_reference, float attenuation,
+                                   float cone_angle_outer, float cone_angle_inner, float cone_volume_outer);
 
 /**
  * Updates all non-animated parameters of the entry.
@@ -578,7 +578,7 @@
  * \param model The distance model for distance calculation.
  */
 extern void AUD_updateSequencerData(AUD_Sound* sequencer, float speed_of_sound,
-									float factor, AUD_DistanceModel model);
+                                    float factor, AUD_DistanceModel model);
 
 /**
  * Sets the audio output specification of the sound scene to the specs of the

Modified: trunk/blender/intern/boolop/intern/BOP_BSPNode.h
===================================================================
--- trunk/blender/intern/boolop/intern/BOP_BSPNode.h	2012-07-31 22:15:54 UTC (rev 49435)
+++ trunk/blender/intern/boolop/intern/BOP_BSPNode.h	2012-07-31 23:06:12 UTC (rev 49436)
@@ -52,43 +52,43 @@
 	// Construction methods
 	BOP_BSPNode(const MT_Plane3& plane);
 	~BOP_BSPNode();
-	unsigned int addFace(const BOP_BSPPoints& pts, 
-						 const MT_Plane3& plane);
-	BOP_TAG classifyFace(const MT_Point3& p1, 
-						 const MT_Point3& p2, 
-						 const MT_Point3& p3, 
-						 const MT_Plane3& plane) const;
-	BOP_TAG simplifiedClassifyFace(const MT_Point3& p1, 
-								   const MT_Point3& p2, 
-								   const MT_Point3& p3, 
-								   const MT_Plane3& plane) const;
+	unsigned int addFace(const BOP_BSPPoints& pts,
+	                     const MT_Plane3& plane);
+	BOP_TAG classifyFace(const MT_Point3& p1,
+	                     const MT_Point3& p2,
+	                     const MT_Point3& p3,
+	                     const MT_Plane3& plane) const;
+	BOP_TAG simplifiedClassifyFace(const MT_Point3& p1,
+	                               const MT_Point3& p2,
+	                               const MT_Point3& p3,
+	                               const MT_Plane3& plane) const;
 	
 protected:
 	BOP_TAG testPoint(const MT_Point3& p) const;
-	BOP_TAG classifyFaceIN(const MT_Point3& p1, 
-						   const MT_Point3& p2, 
-						   const MT_Point3& p3, 
-						   const MT_Plane3& plane) const;
-	BOP_TAG classifyFaceOUT(const MT_Point3& p1, 
-							const MT_Point3& p2, 
-							const MT_Point3& p3, 
-							const MT_Plane3& plane) const;
-	BOP_TAG simplifiedClassifyFaceIN(const MT_Point3& p1, 
-									 const MT_Point3& p2, 
-									 const MT_Point3& p3, 
-									 const MT_Plane3& plane) const;
-	BOP_TAG simplifiedClassifyFaceOUT(const MT_Point3& p1, 
-									  const MT_Point3& p2, 
-									  const MT_Point3& p3, 
-									  const MT_Plane3& plane) const;
+	BOP_TAG classifyFaceIN(const MT_Point3& p1,
+	                       const MT_Point3& p2,
+	                       const MT_Point3& p3,
+	                       const MT_Plane3& plane) const;
+	BOP_TAG classifyFaceOUT(const MT_Point3& p1,
+	                        const MT_Point3& p2,
+	                        const MT_Point3& p3,
+	                        const MT_Plane3& plane) const;
+	BOP_TAG simplifiedClassifyFaceIN(const MT_Point3& p1,
+	                                 const MT_Point3& p2,
+	                                 const MT_Point3& p3,
+	                                 const MT_Plane3& plane) const;
+	BOP_TAG simplifiedClassifyFaceOUT(const MT_Point3& p1,
+	                                  const MT_Point3& p2,
+	                                  const MT_Point3& p3,
+	                                  const MT_Plane3& plane) const;
 	bool hasSameOrientation(const MT_Plane3& plane) const;
 	int compChildren() const;
-	int splitTriangle(MT_Point3* res, 
-					  const MT_Plane3& plane, 
-					  const MT_Point3& p1, 
-					  const MT_Point3& p2, 
-					  const MT_Point3& p3, 
-					  const BOP_TAG tag) const;
+	int splitTriangle(MT_Point3* res,
+	                  const MT_Plane3& plane,
+	                  const MT_Point3& p1,
+	                  const MT_Point3& p2,
+	                  const MT_Point3& p3,
+	                  const BOP_TAG tag) const;
 
 public:
 	// Inline acces methods

Modified: trunk/blender/intern/boolop/intern/BOP_BSPTree.h
===================================================================
--- trunk/blender/intern/boolop/intern/BOP_BSPTree.h	2012-07-31 22:15:54 UTC (rev 49435)
+++ trunk/blender/intern/boolop/intern/BOP_BSPTree.h	2012-07-31 23:06:12 UTC (rev 49436)
@@ -50,22 +50,22 @@
 	virtual ~BOP_BSPTree();
 	void addMesh(BOP_Mesh* mesh, BOP_Faces& facesList);
 	void addFace(BOP_Mesh* mesh, BOP_Face* face);
-	virtual void addFace(const MT_Point3& p1, 
-						 const MT_Point3& p2, 
-						 const MT_Point3& p3, 
-						 const MT_Plane3& plane);
-	BOP_TAG classifyFace(const MT_Point3& p1, 
-						 const MT_Point3& p2, 
-						 const MT_Point3& p3, 
-						 const MT_Plane3& plane) const;
-	BOP_TAG filterFace(const MT_Point3& p1, 
-					   const MT_Point3& p2, 
-					   const MT_Point3& p3, 
-					   BOP_Face* face);
-	BOP_TAG simplifiedClassifyFace(const MT_Point3& p1, 
-								   const MT_Point3& p2, 
-								   const MT_Point3& p3, 
-								   const MT_Plane3& plane) const;
+	virtual void addFace(const MT_Point3& p1,
+	                     const MT_Point3& p2,
+	                     const MT_Point3& p3,
+	                     const MT_Plane3& plane);
+	BOP_TAG classifyFace(const MT_Point3& p1,
+	                     const MT_Point3& p2,
+	                     const MT_Point3& p3,
+	                     const MT_Plane3& plane) const;
+	BOP_TAG filterFace(const MT_Point3& p1,
+	                   const MT_Point3& p2,
+	                   const MT_Point3& p3,
+	                   BOP_Face* face);
+	BOP_TAG simplifiedClassifyFace(const MT_Point3& p1,
+	                               const MT_Point3& p2,
+	                               const MT_Point3& p3,
+	                               const MT_Plane3& plane) const;
 	unsigned int getDeep() const;
 	void print();
 	inline void setRoot(BOP_BSPNode* root) {m_root=root;};


@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list