From 5c5df0bc0721380ac29a0dfe2490c2cc96f0196d Mon Sep 17 00:00:00 2001 From: Francois Beaune Date: Thu, 17 Apr 2014 08:34:17 +0200 Subject: [PATCH] texture transforms were not preserved across edits. fixed issue #435. --- src/appleseed.studio/mainwindow/project/projectbuilder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/appleseed.studio/mainwindow/project/projectbuilder.h b/src/appleseed.studio/mainwindow/project/projectbuilder.h index 6e61431d69..ac577d446e 100644 --- a/src/appleseed.studio/mainwindow/project/projectbuilder.h +++ b/src/appleseed.studio/mainwindow/project/projectbuilder.h @@ -358,7 +358,7 @@ inline renderer::TextureInstance* ProjectBuilder::edit_entity( name.c_str(), clean_values, texture_name.c_str(), - foundation::Transformd::identity())); + old_entity->get_transform())); renderer::TextureInstance* new_entity_ptr = new_entity.get(); renderer::EntityTraits::remove_entity(old_entity, parent);