Merge branch 'release/1.10.x'

This commit is contained in:
rdb 2020-03-08 10:37:05 +01:00
commit 515ce931b9
3 changed files with 7 additions and 3 deletions

View File

@ -745,7 +745,10 @@ if __debug__:
pylib_path = os.path.join(libdir, pylib_arch, pylib_name)
else:
pylib_path = os.path.join(libdir, pylib_name)
whl.write_file('deploy_libs/' + pylib_name, pylib_path)
# If Python was linked statically, we don't need to include this.
if not pylib_name.endswith('.a'):
whl.write_file('deploy_libs/' + pylib_name, pylib_path)
whl.close()

View File

@ -173,8 +173,8 @@ handle_entries() {
const CollisionSolid *s2 = sd2._entry->get_into();
if (s1 != nullptr &&
s2 != nullptr &&
s1->is_exact_type(CollisionPolygon::get_class_type()) &&
s2->is_exact_type(CollisionPolygon::get_class_type()) &&
s1->is_of_type(CollisionPolygon::get_class_type()) &&
s2->is_of_type(CollisionPolygon::get_class_type()) &&
sd._entry->get_into_node_path() ==
sd2._entry->get_into_node_path()) {
const CollisionPolygon *p1 = DCAST(CollisionPolygon, s1);

View File

@ -4148,6 +4148,7 @@ end_frame(Thread *current_thread) {
_current_shader = nullptr;
_current_shader_context = nullptr;
}
_state_shader = nullptr;
#endif
// Respecify the active texture next frame, for good measure.