Fix ref's type.

This commit is contained in:
Relintai 2021-08-10 10:40:56 +02:00
parent ef7b217b6a
commit ccc94053d6

View File

@ -392,8 +392,8 @@ void PropInstanceMerger::_build() {
}
if (!_job.is_valid()) {
//todo this should probably be in a virtual method, lik ein Terraman or Voxelman
_job = Ref<PropInstanceJob>(memnew(PropInstancePropJob()));
//todo this should probably be in a virtual method, lik in Terraman or Voxelman
_job = Ref<PropInstancePropJob>(memnew(PropInstancePropJob()));
_job->set_prop_instace(this);
Ref<PropMesherJobStep> js;