Reference Layers : issues with OriginalLayer

Discuss Moho bugs (or suspected bugs) with other users. To report bugs to Smith Micro, please visit support.smithmicro.com

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
Quentin.F
Posts: 6
Joined: Thu Apr 23, 2026 2:39 am

Reference Layers : issues with OriginalLayer

Post by Quentin.F »

Hello there,

I'm currently working on a Rig with a loooooot of Reference Layers, and Moho starts to mess up the way it stores the data of the Original Layers.

2 examples :
1. I have a Reference Layer pointing to (supposed) Original Layer that was, well, a Reference Layer too (pointing to a real Original Layer this time).
2. I have another Reference Layer with no Original Layer at all...

Image

Have you ever encountered this kind of bug ?

Is there a way to avoid these bugs, or to force Moho to set a Layer to be the Original of a specific Reference Layer ?

Thanks,
Quentin
User avatar
synthsin75
Posts: 10570
Joined: Mon Jan 14, 2008 2:20 pm
Location: Oklahoma
Contact:

Re: Reference Layers : issues with OriginalLayer

Post by synthsin75 »

My guess would be a deleted original layer with a lag on Moho resetting the tag in the reference. I would assume saving and reopening the file would remove that tag and make it a regular layer.

If it is still operating as a reference of an existing layer, I would verify it in the Moho file's json code. Just in case it's an issue with the diagnostic tool.
User avatar
SimplSam
Posts: 1327
Joined: Thu Mar 13, 2014 9:09 am
Location: London, UK
Contact:

Re: Reference Layers : issues with OriginalLayer

Post by SimplSam »

If the original layer is deleted, then the referencing layer remains a Reference Layer and still points to the prior reference (by UUID). If you use "Break Layer Reference" then it removes that association.

Assuming the tool displays the layer name in the "Original Layer" field, it can only do that by a lookup of the UUID that is referenced by the Reference Layer. If either the original layer is missing/deleted or in an external file then a tool script currently has no way to determine the original layer name.
Moho 14.4 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.4 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
Quentin.F
Posts: 6
Joined: Thu Apr 23, 2026 2:39 am

Re: Reference Layers : issues with OriginalLayer

Post by Quentin.F »

Thanks for your answers.
synthsin75 wrote: Sat Sep 19, 2026 1:22 pm My guess would be a deleted original layer (...)
I haven't deleted the Original Layer, and it's still in the Project.
I'll take a look to the JSON file, thanks for the tip.


The Layer Inspector is OK, the issue comes from the layers, I've just checked in the JSON file.
I do have a REF layer with a positive layer_ref_same_doc value that has no layer_ref_uuid value.

I'm gonna try to see if Moho scripts allow to change the layer_ref_uuid value.

Thanks for your help. I'll let you know if i find a way to correct my issue.
Post Reply