From Tree, fixes for Java bindings
This commit is contained in:
@@ -78,7 +78,7 @@ class SG_EXPORT ApplicationUsage
|
||||
|
||||
void write(std::ostream& output,const UsageMap& um,unsigned int widthOfOutput=80,bool showDefaults=false,const UsageMap& ud=UsageMap());
|
||||
|
||||
void write(std::ostream& output,unsigned int type=COMMAND_LINE_OPTION|ENVIRONMENTAL_VARIABLE|KEYBOARD_MOUSE_BINDING, unsigned int widthOfOutput=80,bool showDefaults=false);
|
||||
void write(std::ostream& output,unsigned int type=COMMAND_LINE_OPTION, unsigned int widthOfOutput=80,bool showDefaults=false);
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
@@ -33,15 +33,15 @@ namespace osgParticle
|
||||
virtual bool isSameKindAs(const osg::Object *obj) const { return dynamic_cast<const ParticleEffect*>(obj) != 0; }
|
||||
virtual void accept(osg::NodeVisitor& nv) { if (nv.validNodeMask(*this)) { nv.pushOntoNodePath(this); nv.apply(*this); nv.popFromNodePath(); } }
|
||||
|
||||
void setEmitter(Emitter* emitter);
|
||||
void setEmitter(Emitter* emitter) { _emitter = emitter; }
|
||||
Emitter* getEmitter() { return _emitter.get(); }
|
||||
const Emitter* getEmitter() const { return _emitter.get(); }
|
||||
|
||||
void setProgram(Program* program);
|
||||
void setProgram(Program* program) { _program = program; }
|
||||
Program* getProgram() { return _program.get(); }
|
||||
const Program* getProgram() const { return _program.get(); }
|
||||
|
||||
void setParticleSystem(ParticleSystem* ps);
|
||||
void setParticleSystem(ParticleSystem* ps) { _particleSystem = ps; }
|
||||
ParticleSystem* getParticleSystem() { return _particleSystem.get(); }
|
||||
const ParticleSystem* getParticleSystem() const { return _particleSystem.get(); }
|
||||
|
||||
|
||||
@@ -377,6 +377,7 @@ class OSGTERRAIN_EXPORT DataSet : public osg::Referenced
|
||||
{
|
||||
if (&rhs==this) return *this;
|
||||
_positionStack = rhs._positionStack;
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool operator == (const iterator& rhs) const
|
||||
|
||||
Reference in New Issue
Block a user