Added the ability to revert to initial value in editor settings.

This commit is contained in:
Daniel J. Ramirez 2017-09-24 22:26:41 -05:00
parent c4aa634b8a
commit 5676c42ae0
4 changed files with 200 additions and 157 deletions

View file

@ -2958,7 +2958,7 @@ void PropertyEditor::update_tree() {
item->set_metadata(1, p.name);
if (draw_red)
item->set_custom_color(0, Color(0.8, 0.4, 0.20));
item->set_custom_color(0, get_color("error_color", "Editor"));
if (p.name == selected_property) {