mirror of
https://github.com/Relintai/voxelman.git
synced 2025-03-12 18:18:50 +01:00
Hide saved channels in the editor, and from scripts.
This commit is contained in:
parent
3e98b8e01c
commit
36063410f9
@ -1475,8 +1475,7 @@ bool VoxelChunk::_get(const StringName &p_name, Variant &r_ret) const {
|
||||
|
||||
void VoxelChunk::_get_property_list(List<PropertyInfo> *p_list) const {
|
||||
for (int i = 0; i < _channels.size(); ++i) {
|
||||
p_list->push_back(PropertyInfo(Variant::POOL_BYTE_ARRAY, "channels/" + String::num(i)));
|
||||
//p_list->push_back(PropertyInfo(Variant::POOL_BYTE_ARRAY, "channels/" + String::num(i), PROPERTY_HINT_NONE, "", PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_INTERNAL));
|
||||
p_list->push_back(PropertyInfo(Variant::POOL_BYTE_ARRAY, "channels/" + String::num(i), PROPERTY_HINT_NONE, "", PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_INTERNAL));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user