|
|
|
@ -215,11 +215,11 @@ function GmEditorUi:editSelected(index,choice)
|
|
|
|
|
elseif trg_type == 'boolean' then
|
|
|
|
|
trg.target[trg_key] = not trg.target[trg_key]
|
|
|
|
|
self:updateTarget(true)
|
|
|
|
|
elseif trg_type=='userdata' then
|
|
|
|
|
elseif trg_type == 'userdata' or trg_type == 'table' then
|
|
|
|
|
self:pushTarget(trg.target[trg_key])
|
|
|
|
|
else
|
|
|
|
|
print("Unknow type:"..trg_type)
|
|
|
|
|
print("Subtype:"..tostring(trg.target[trg_key]._kind))
|
|
|
|
|
print("Unknown type:"..trg_type)
|
|
|
|
|
pcall(function() print("Subtype:"..tostring(trg.target[trg_key]._kind)) end)
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|