Skip to content

Commit

Permalink
texture transforms were not preserved across edits.
Browse files Browse the repository at this point in the history
fixed issue #435.
  • Loading branch information
dictoon committed Apr 17, 2014
1 parent 5063d0e commit 5c5df0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/appleseed.studio/mainwindow/project/projectbuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<renderer::TextureInstance>::remove_entity(old_entity, parent);
Expand Down

0 comments on commit 5c5df0b

Please sign in to comment.