mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-22 08:04:23 +00:00
Remove debug logging from SamplerPriority
This commit is contained in:
parent
c2dd8a61cd
commit
782d752c3e
1 changed files with 0 additions and 2 deletions
|
@ -13,14 +13,12 @@ func sample() -> Priority:
|
||||||
# FIXME: Change this to something more efficient when needed
|
# FIXME: Change this to something more efficient when needed
|
||||||
var highest_possibility: Priority = null
|
var highest_possibility: Priority = null
|
||||||
for possibility in possibilities:
|
for possibility in possibilities:
|
||||||
Log.p(self, "Possibility: %s (%d)" % [possibility, possibility.priority])
|
|
||||||
if highest_possibility == null or possibility.priority > highest_possibility.priority:
|
if highest_possibility == null or possibility.priority > highest_possibility.priority:
|
||||||
highest_possibility = possibility
|
highest_possibility = possibility
|
||||||
|
|
||||||
if highest_possibility == null:
|
if highest_possibility == null:
|
||||||
return null
|
return null
|
||||||
|
|
||||||
Log.p(self, "Sampled: %s (%d)" % [highest_possibility, highest_possibility.priority])
|
|
||||||
return highest_possibility.get_ref()
|
return highest_possibility.get_ref()
|
||||||
|
|
||||||
func get_all_refs() -> Array[Node]:
|
func get_all_refs() -> Array[Node]:
|
||||||
|
|
Loading…
Reference in a new issue