File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,8 @@ def __init__(
97
97
self .init_colors ()
98
98
# self.init_shader_data()
99
99
100
- # if self.depth_test:
101
- # self.apply_depth_test()
100
+ if self .depth_test :
101
+ self .apply_depth_test ()
102
102
103
103
def __str__ (self ):
104
104
return self .__class__ .__name__
@@ -1311,7 +1311,7 @@ def affects_shader_info_id(func):
1311
1311
def wrapper (self ):
1312
1312
for mob in self .get_family ():
1313
1313
func (mob )
1314
- mob .refresh_shader_wrapper_id ()
1314
+ # mob.refresh_shader_wrapper_id()
1315
1315
return self
1316
1316
1317
1317
return wrapper
@@ -1392,9 +1392,9 @@ def init_shader_data(self):
1392
1392
render_primitive = self .render_primitive ,
1393
1393
)
1394
1394
1395
- def refresh_shader_wrapper_id (self ):
1396
- self .shader_wrapper .refresh_id ()
1397
- return self
1395
+ # def refresh_shader_wrapper_id(self):
1396
+ # self.shader_wrapper.refresh_id()
1397
+ # return self
1398
1398
1399
1399
def get_shader_wrapper (self ):
1400
1400
self .shader_wrapper = ShaderWrapper (
You can’t perform that action at this time.
0 commit comments