Add const lvalue ref to editor/* container parameters
This commit is contained in:
parent
bb6b06c813
commit
1638c1b28f
119 changed files with 397 additions and 397 deletions
|
|
@ -348,7 +348,7 @@ PackedVector2Array NavigationObstacle3DEditor::_get_polygon() {
|
|||
return PackedVector2Array(obstacle_node->call("get_polygon"));
|
||||
}
|
||||
|
||||
void NavigationObstacle3DEditor::_set_polygon(PackedVector2Array p_poly) {
|
||||
void NavigationObstacle3DEditor::_set_polygon(const PackedVector2Array &p_poly) {
|
||||
ERR_FAIL_NULL_MSG(obstacle_node, "Edited object is not valid.");
|
||||
obstacle_node->call("set_polygon", p_poly);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue