mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:24:07 +02:00
add deprecation log for DYNAMIC_TYPE_SPRING
This commit is contained in:
parent
d705f529a0
commit
e9c703b147
1 changed files with 1 additions and 2 deletions
|
@ -32,8 +32,7 @@ EntityDynamicPointer interfaceDynamicFactory(EntityDynamicType type, const QUuid
|
|||
case DYNAMIC_TYPE_OFFSET:
|
||||
return std::make_shared<ObjectActionOffset>(id, ownerEntity);
|
||||
case DYNAMIC_TYPE_SPRING:
|
||||
// the old "Spring" action moved to "Tractor"
|
||||
return std::make_shared<ObjectActionTractor>(id, ownerEntity);
|
||||
qDebug() << "The 'spring' Action is deprecated. Replacing with 'tractor' Action.";
|
||||
case DYNAMIC_TYPE_TRACTOR:
|
||||
return std::make_shared<ObjectActionTractor>(id, ownerEntity);
|
||||
case DYNAMIC_TYPE_HOLD:
|
||||
|
|
Loading…
Reference in a new issue