Commit 29bef8c
committed
category_factory: Fix static Callable use in Godot 4.2.1
In Godot 4.2.1, a static function used as a Callable from a static
function fails to be resolved. This causes the following error in our
case:
```
res://addons/block_code/ui/picker/categories/category_factory.gd:109 -
Invalid get index '_category_cmp' (on base: 'Nil')
```
See godotengine/godot#86032 for details. This
can be worked around by using the fully qualified class method name.
Fixes: #941 parent ef620ce commit 29bef8c
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
154 | 157 | | |
155 | 158 | | |
156 | 159 | | |
| |||
0 commit comments