[Bf-blender-cvs] [53135f9] master: Removed debugging code.
Lukas Tönne
noreply at git.blender.org
Tue Jan 20 09:53:58 CET 2015
Commit: 53135f91d2ed981ad78afee544f8ea6673f0a566
Author: Lukas Tönne
Date: Thu Jan 15 18:18:03 2015 +0100
Branches: master
https://developer.blender.org/rB53135f91d2ed981ad78afee544f8ea6673f0a566
Removed debugging code.
===================================================================
M source/blender/editors/physics/particle_object.c
===================================================================
diff --git a/source/blender/editors/physics/particle_object.c b/source/blender/editors/physics/particle_object.c
index c7794d3..8c10b67 100644
--- a/source/blender/editors/physics/particle_object.c
+++ b/source/blender/editors/physics/particle_object.c
@@ -46,7 +46,6 @@
#include "BKE_depsgraph.h"
#include "BKE_DerivedMesh.h"
#include "BKE_cdderivedmesh.h"
-#include "BKE_effect.h"
#include "BKE_global.h"
#include "BKE_library.h"
#include "BKE_main.h"
@@ -773,14 +772,6 @@ static bool remap_hair_emitter(Scene *scene, Object *UNUSED(ob), ParticleSystem
/* offset in world space */
sub_v3_v3v3(offset, nearest.co, co);
- {
- SimDebugData *dd = psys->clmd ? psys->clmd->debug_data : NULL;
- BKE_sim_debug_data_add_dot(dd, nearest.co, 1,1,1, "particle matrix", 689, i);
-
- BKE_sim_debug_data_add_vector(dd, hairmat[3], hairmat[0], 1,0,0, "particle matrix", 222, i);
- BKE_sim_debug_data_add_vector(dd, hairmat[3], hairmat[1], 0,1,0, "particle matrix", 333, i);
- BKE_sim_debug_data_add_vector(dd, hairmat[3], hairmat[2], 0,0,1, "particle matrix", 444, i);
- }
if (edit_point) {
for (k=0, key=pa->hair, tkey=tpa->hair, ekey = edit_point->keys; k<tpa->totkey; k++, key++, tkey++, ekey++) {
More information about the Bf-blender-cvs
mailing list