]> git.lizzy.rs Git - minetest.git/commit
Fix backface culling when connecting to new servers.
authorAuke Kok <sofar@foo-projects.org>
Sun, 24 Jan 2016 03:53:27 +0000 (19:53 -0800)
committerest31 <MTest31@outlook.com>
Tue, 9 Feb 2016 23:10:51 +0000 (00:10 +0100)
commit47464c9344a1a4817ad6e4c6ec44526df305b1f6
treea95e2f022ceaca4675e1f6e3cdcb30b030c7168c
parentba8fa9e889b399d67f4e2172e7dbf7717fdc2b86
Fix backface culling when connecting to new servers.

Introduce a new contentfeatures version (8). When clients
connect using v27 protocol version, they can assume that
the tiledef.backface_culling is trustable, but if clients
connect to servers providing contentfeatures version 7,
then the v27 clients know that backface culling settings
provided by the server in tiledefs are bogus for mesh,
plantlike, firelike or liquid drawtype nodes.

thanks to hmmmm, est31, nerzhul.

Tested on new client - new server, new client - old server
old client - new server.
src/nodedef.cpp
src/nodedef.h