findObjectByIdNoUpcast
Definition
-- @/=[C]:-1
function findObjectByIdNoUpcast(...)
Callers
@/lua/ge/extensions/editor/api/valueInspector.lua
if i ~= 1 then
local dblock = Sim.findObjectByIdNoUpcast(dataBlocksTbl[dbName])
if not dblock or not dblock:isSubClassOf(dbFieldType) then
@/lua/ge/extensions/editor/forestEditor.lua
if obj and obj.getClassName and obj:getClassName() == "ForestBrushElement" and obj.forestItemData then
local forestItemData = Sim.findObjectByIdNoUpcast(dataBlocksTbl[obj.forestItemData:getName()])
if forestItemData then
if i ~= 1 then
local dblock = Sim.findObjectByIdNoUpcast(dataBlocksTbl[dbName])
if not dblock or not dblock:isSubClassOf(dbFieldType) then
elseif object and object:getClassName() == "ForestBrushElement" and fieldNameLower == "forestitemdata" then
local forestItemData = Sim.findObjectByIdNoUpcast(dataBlocksTbl[object.forestItemData:getName()])
if forestItemData then