File indexing completed on 2025-02-02 04:11:05
0001 /* 0002 * SPDX-FileCopyrightText: 2019-2023 Mattia Basaglia <dev@dragon.best> 0003 * 0004 * SPDX-License-Identifier: GPL-3.0-or-later 0005 */ 0006 0007 #include "reference_property.hpp" 0008 #include "model/document.hpp" 0009 0010 void glaxnimate::model::ReferencePropertyBase::transfer(model::Document* doc) 0011 { 0012 auto ref = get_ref(); 0013 0014 if ( ref && !is_valid_option(ref) ) 0015 set_ref(doc->find_by_uuid(ref->uuid.get())); 0016 }