Skip to content

Commit bd6c5b5

Browse files
committed
Only force editor usage on exported properties
1 parent 0fa0ca0 commit bd6c5b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/script-language/LuaScriptProperty.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ static LuaScriptProperty lua_property(sol::stack_object value) {
9494

9595
static LuaScriptProperty lua_export(sol::stack_object value) {
9696
LuaScriptProperty property = lua_property(value);
97-
property.usage |= PROPERTY_USAGE_DEFAULT;
97+
property.usage |= PROPERTY_USAGE_EDITOR;
9898
return property;
9999
}
100100

0 commit comments

Comments
 (0)