@@ -200,7 +200,7 @@ void BlackboardPlan::_get_property_list(List<PropertyInfo> *p_list) const {
200
200
201
201
#ifdef TOOLS_ENABLED
202
202
// * Editor
203
- if (!_is_var_hidden (var_name, var)) {
203
+ if (!_is_var_nil (var) || ! _is_var_private (var_name, var)) {
204
204
if (has_mapping (var_name) || has_property_binding (var_name)) {
205
205
p_list->push_back (PropertyInfo (Variant::STRING, var_name, PROPERTY_HINT_NONE, " " , PROPERTY_USAGE_EDITOR | PROPERTY_USAGE_READ_ONLY));
206
206
} else {
@@ -226,7 +226,7 @@ void BlackboardPlan::_get_property_list(List<PropertyInfo> *p_list) const {
226
226
if (is_mapping_enabled ()) {
227
227
p_list->push_back (PropertyInfo (Variant::NIL, " Mapping" , PROPERTY_HINT_NONE, " mapping/" , PROPERTY_USAGE_GROUP));
228
228
for (const Pair<StringName, BBVariable> &p : var_list) {
229
- if (_is_var_hidden (p.first , p.second )) {
229
+ if (_is_var_private (p.first , p.second )) {
230
230
continue ;
231
231
}
232
232
if (unlikely (has_property_binding (p.first ))) {
@@ -242,7 +242,7 @@ void BlackboardPlan::_get_property_list(List<PropertyInfo> *p_list) const {
242
242
// * Binding
243
243
p_list->push_back (PropertyInfo (Variant::NIL, " Binding" , PROPERTY_HINT_NONE, " binding/" , PROPERTY_USAGE_GROUP));
244
244
for (const Pair<StringName, BBVariable> &p : var_list) {
245
- if (_is_var_hidden (p.first , p.second )) {
245
+ if (_is_var_nil (p. second ) || _is_var_private (p.first , p.second )) {
246
246
continue ;
247
247
}
248
248
if (unlikely (has_mapping (p.first ))) {
0 commit comments