mirror of
https://github.com/Relintai/props.git
synced 2025-03-10 18:23:24 +01:00
Fix ref's type.
This commit is contained in:
parent
ef7b217b6a
commit
ccc94053d6
@ -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;
|
||||
@ -546,7 +546,7 @@ void PropInstanceMerger::_prop_preprocess(Transform transform, const Ref<PropDat
|
||||
PropInstanceMerger::PropInstanceMerger() {
|
||||
_build_queued = false;
|
||||
_building = false;
|
||||
|
||||
|
||||
_first_lod_distance_squared = 20;
|
||||
_lod_reduction_distance_squared = 10;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user