Fix unsafe murmur3 hash use for the default material keys, expose alpha hash transparency mode for default materials and Label3D and Sprite3D.
This commit is contained in:
parent
4fa6edc888
commit
1c774a6083
9 changed files with 134 additions and 51 deletions
|
|
@ -80,7 +80,8 @@ bool RootMotionView::get_zero_y() const {
|
|||
void RootMotionView::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_ENTER_TREE: {
|
||||
immediate_material = StandardMaterial3D::get_material_for_2d(false, true, false, false, false);
|
||||
immediate_material = StandardMaterial3D::get_material_for_2d(false, BaseMaterial3D::TRANSPARENCY_ALPHA, false);
|
||||
|
||||
first = true;
|
||||
} break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue