From 40dcc0cd7d459421defd8d974aad408bd4750a7c Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 28 May 2010 16:05:47 +0000 Subject: [PATCH] Converted osg::notify to OSG_INFO etc. --- src/osgParticle/ConnectedParticleSystem.cpp | 6 +++--- src/osgParticle/FluidProgram.cpp | 2 +- src/osgParticle/ModularEmitter.cpp | 2 +- src/osgParticle/MultiSegmentPlacer.cpp | 2 +- src/osgParticle/Particle.cpp | 4 ++-- src/osgParticle/ParticleProcessor.cpp | 4 ++-- src/osgParticle/ParticleSystem.cpp | 2 +- src/osgParticle/ParticleSystemUpdater.cpp | 6 +++--- src/osgParticle/PrecipitationEffect.cpp | 24 ++++++++++----------- 9 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/osgParticle/ConnectedParticleSystem.cpp b/src/osgParticle/ConnectedParticleSystem.cpp index a8cfa8592..eae5f8867 100644 --- a/src/osgParticle/ConnectedParticleSystem.cpp +++ b/src/osgParticle/ConnectedParticleSystem.cpp @@ -39,7 +39,7 @@ ConnectedParticleSystem::~ConnectedParticleSystem() Particle* ConnectedParticleSystem::createParticle(const Particle* ptemplate) { - // osg::notify(osg::NOTICE)<=(int)_particles.size()) return; diff --git a/src/osgParticle/FluidProgram.cpp b/src/osgParticle/FluidProgram.cpp index f5b06c18d..bc9bc85c0 100644 --- a/src/osgParticle/FluidProgram.cpp +++ b/src/osgParticle/FluidProgram.cpp @@ -43,7 +43,7 @@ void osgParticle::FluidProgram::execute(double dt) double compenstated_dt = dt; if (relative_wind.length2() < dt*dt*wind_accel.length2()) { - // osg::notify(osg::NOTICE)<<"** Could be critical: dt="<(_cur_tile * _t_tile) + 1); - // osg::notify(osg::NOTICE)< _psv.size() ) { - osg::notify(osg::DEBUG_INFO)<<"Warning: ParticleSystem::removeParticleSystem(i,numParticleSystemsToRemove) has been passed an excessive number"<setMode(GL_VERTEX_PROGRAM_POINT_SIZE, osg::StateAttribute::ON); #else - osg::notify(osg::NOTICE)<<"Warning: ParticleEffect::setUpGeometries(..) not fully implemented."<setRenderBinDetails(pointRenderBin,"DepthSortedBin"); @@ -764,12 +764,12 @@ void PrecipitationEffect::cull(PrecipitationDrawableSet& pds, osgUtil::CullVisit inverse_modelview.invert(*(cv->getModelViewMatrix())); osg::Vec3 eyeLocal = osg::Vec3(0.0f,0.0f,0.0f) * inverse_modelview; - //osg::notify(osg::NOTICE)<<" eyeLocal "<delta_m(startTick,endTick)<<"ms numTested="<getCurrentCellMatrixMap().size()<<" lines "<getCurrentCellMatrixMap().size()<<" points "<getCurrentCellMatrixMap().size()<delta_m(startTick,endTick)<<"ms numTested="<getCurrentCellMatrixMap().size()<<" lines "<getCurrentCellMatrixMap().size()<<" points "<getCurrentCellMatrixMap().size()<