| 223 | } |
| 224 | |
| 225 | int EditorSelectionHistory::get_path_size() const { |
| 226 | if (current_elem_idx < 0 || current_elem_idx >= history.size()) { |
| 227 | return 0; |
| 228 | } |
| 229 | |
| 230 | return history[current_elem_idx].path.size(); |
| 231 | } |
| 232 | |
| 233 | ObjectID EditorSelectionHistory::get_path_object(int p_index) const { |
| 234 | if (current_elem_idx < 0 || current_elem_idx >= history.size()) { |