Note: I printed this out from _editHandlerClassMethods while creating an hgm asset
_ProcessEditCommand: cmd=addinst myNodeID=9223372099322022207 fields=roomName, instanceType, Position values=default, GR2Instance, (-133.01373291,3.414422274,-12.210457802)
Thats as far as I can trace as its the entry point from c++
Has something changed with model format perhaps?
*EDIT*
As a temporary fix I've implemented the following OverRide in E_EditHandlerClassmethods to catch any new
instances and force them to be created as HGMInstance type instance IF a gr2Instance is called for.
In case this would cause some unforseen issue down the road I'll remove it once this is corrected.
Just to be sure, am I correct in understanding that .gr2 files are legacy only and no longer a standard?
method HE_allowEditRequest(editor_account_id as ID, cmd as String, myNodeID as ID, fields as List of String, values as List of String, RawData as RawData, isAllowed references Boolean, error references String ) as Boolean
resend as Boolean
newValues as List of String
loop i from 1 to values.length
temp as String = values[i]
if ToLower(temp) = "gr2instance"
add back "hgminstance" to newValues
resend = true
continue
.
add back temp to newValues
.
if resend
isAllowed = false
$EDIT._ProcessEditCommand( editor_account_id, cmd, GetAreaNumber(), myNodeID, fields, newValues, RawData)
return false
.
isAllowed = true
return true
.
This works for new instances created, and I could code up a script pretty quick to convert any others back to HGMInstance type if need be, but I'll hold off til this is figured out.