[Bf-blender-cvs] [f1e1ec2] master: Action Editor: Make the warning on unlinking actions a bit less intrusive

Joshua Leung noreply at git.blender.org
Tue Apr 14 15:20:28 CEST 2015


Commit: f1e1ec2d8d43034ae36a5143ee57ce58756f115c
Author: Joshua Leung
Date:   Wed Apr 15 01:18:45 2015 +1200
Branches: master
https://developer.blender.org/rBf1e1ec2d8d43034ae36a5143ee57ce58756f115c

Action Editor: Make the warning on unlinking actions a bit less intrusive

venomgfx was complaining that having it do the popup everytime was too intrusive,
so demoting it to just showing the warning in the header.

===================================================================

M	source/blender/editors/space_action/action_data.c

===================================================================

diff --git a/source/blender/editors/space_action/action_data.c b/source/blender/editors/space_action/action_data.c
index 11ccaee..6e3e456 100644
--- a/source/blender/editors/space_action/action_data.c
+++ b/source/blender/editors/space_action/action_data.c
@@ -543,7 +543,7 @@ void ED_animedit_unlink_action(bContext *C, ID *id, AnimData *adt, bAction *act,
 	 *       trying to get rid of stuff that's actually unwanted!
 	 */
 	if (act->id.us == 1) {
-		BKE_reportf(reports, RPT_ERROR,
+		BKE_reportf(reports, RPT_WARNING,
 		            "Action '%s' will not be saved, create Fake User or Stash in NLA Stack to retain",
 		            act->id.name + 2);
 	}




More information about the Bf-blender-cvs mailing list