mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-30 21:42:59 +00:00 
			
		
		
		
	draw: 3d models now should appear correctly
This commit is contained in:
		| @@ -2068,7 +2068,7 @@ namespace mapeditor { | |||||||
|         hpcshape& sh(ds.sh); |         hpcshape& sh(ds.sh); | ||||||
|      |      | ||||||
|         if(sh.s != sh.e) { |         if(sh.s != sh.e) { | ||||||
|           auto& last = queuepolyat(mmscale(V, geom3::lev_to_factor(ds.zlevel)), sh, ds.color ? ds.color : color, prio); |           auto& last = queuepolyat(mmscale(V, DIM == 3 ? 0 : geom3::lev_to_factor(ds.zlevel)), sh, ds.color ? ds.color : color, prio); | ||||||
|           if(DIM == 3) { |           if(DIM == 3) { | ||||||
|             last.tinf = &user_triangles_texture; |             last.tinf = &user_triangles_texture; | ||||||
|             last.offset_texture = ds.texture_offset; |             last.offset_texture = ds.texture_offset; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue