Browse Source

Merge pull request #9505 from Keetz/particle-attractor-binding

Added missing binding to _owner_exited
Rémi Verschelde 8 years ago
parent
commit
4f220a6552
1 changed files with 2 additions and 0 deletions
  1. 2 0
      scene/2d/particles_2d.cpp

+ 2 - 0
scene/2d/particles_2d.cpp

@@ -130,6 +130,8 @@ void ParticleAttractor2D::_bind_methods() {
 	ObjectTypeDB::bind_method(_MD("set_particles_path", "path"), &ParticleAttractor2D::set_particles_path);
 	ObjectTypeDB::bind_method(_MD("get_particles_path"), &ParticleAttractor2D::get_particles_path);
 
+	ObjectTypeDB::bind_method(_MD("_owner_exited"), &ParticleAttractor2D::_owner_exited);
+
 	ADD_PROPERTY(PropertyInfo(Variant::BOOL, "enabled"), _SCS("set_enabled"), _SCS("is_enabled"));
 	ADD_PROPERTY(PropertyInfo(Variant::REAL, "radius", PROPERTY_HINT_RANGE, "0.1,16000,0.1"), _SCS("set_radius"), _SCS("get_radius"));
 	ADD_PROPERTY(PropertyInfo(Variant::REAL, "disable_radius", PROPERTY_HINT_RANGE, "0.1,16000,0.1"), _SCS("set_disable_radius"), _SCS("get_disable_radius"));