Commit d63a843
committed
BlockCanvas: Only can drop properties of the BlockCode's parent node
Godot allows drag any thing. However, if it is a property, block code
script only manipulates the properties of BlockCode node's parent node.
So, when drag a property, only allow drop the parent node's property.
Fixes: 89beea9 ("BlockCanvas: Implement drag & drop the node's property from Inspector")
https://phabricator.endlessm.com/T356491 parent 1423220 commit d63a843
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
| |||
0 commit comments