builtin/voxelworld: Name static nodes by chunk_p, not section_p+local_chunk_p

This commit is contained in:
Perttu Ahola 2014-10-23 23:08:36 +03:00
parent 697e038c55
commit bf71c97d69

View File

@ -531,8 +531,7 @@ struct Module: public interface::Module, public voxelworld::Interface
m_chunk_size_voxels.getZ() / 2.0f - 0.5f
);
ss_ name = "static_"+dump(section_p)+
"_("+itos(x)+","+itos(y)+","+itos(z)+")";
ss_ name = "static_"+dump(chunk_p);
log_t(MODULE, "create_chunk_node(): node_p=(%f, %f, %f), name=\"%s\"",
node_p.x_, node_p.y_, node_p.z_, cs(name));