diff options
author | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2017-10-17 14:45:40 +0300 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2017-10-18 11:00:09 +0000 |
commit | 38b90addc9141615b8d3a2ed12e0b1757840db6c (patch) | |
tree | f3758b99691b23b9ff2ed7170dcfd36e1155ae91 /.gitignore | |
parent | d5f4e5202134e293db57c3d9f81835e3ac146936 (diff) |
Fix crash when undoing standard material to custom material change
Custom materials can have properties that do not exist on standard
material. Attempting to undo changes to those non-existent properties
caused the crash. Now we check if the property exists before attempting
to set it.
Task-number: BOUL-696
Change-Id: Icb112c8e486ef9a90b58d02d9b4147b1b6f78374
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Marianne Yrjänä <marianne.yrjana@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions