Fix automerge failure

This commit is contained in:
rdb 2016-09-08 22:27:25 +02:00
parent b74905ca9c
commit 4d8a9aa3a1

View File

@ -671,7 +671,7 @@ ns_load_2d_texture_array(const Filename &filename_pattern,
nassertr(tex != (Texture *)NULL, NULL);
tex->set_filename(filename_pattern);
tex->set_fullpath(filename);
tex->_texture_pool_key = filename;
tex->_texture_pool_key = unique_filename;
{
MutexHolder holder(_lock);
@ -772,7 +772,7 @@ ns_load_cube_map(const Filename &filename_pattern, bool read_mipmaps,
nassertr(tex != (Texture *)NULL, NULL);
tex->set_filename(filename_pattern);
tex->set_fullpath(filename);
tex->_texture_pool_key = unique_filename;
tex->_texture_pool_key = filename;
{
MutexHolder holder(_lock);