* use bounding box for misc_model transformations

This commit is contained in:
Garux 2022-12-16 00:53:04 +06:00
parent f0ce315ed3
commit d41adc5e93

View File

@ -7772,7 +7772,7 @@ bool RadiantSelectionSystem::endMove(){
inline AABB Instance_getPivotBounds( scene::Instance& instance ){
Entity* entity = Node_getEntity( instance.path().top() );
if ( entity != 0
if ( entity != 0 && !entity->getEntityClass().miscmodel_is
&& ( entity->getEntityClass().fixedsize
|| !node_is_group( instance.path().top() ) ) ) {
Editable* editable = Node_getEditable( instance.path().top() );