Skip to content

Commit

Permalink
Only show duplicate property warning when there is a matched property.
Browse files Browse the repository at this point in the history
  • Loading branch information
gregharding committed Jun 21, 2015
1 parent 218061d commit f1ce7b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/Plugins/GoKit/Go.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@ private static bool handleDuplicatePropertiesInTween( GoTween tween )
{
AbstractTweenProperty tweenProp = allProperties[z];

warn( "found duplicate TweenProperty {0} in tween {1}", tweenProp, tween );

// check for a matched property
if( tweenWithTarget.containsTweenProperty( tweenProp ) )
{
warn( "found duplicate TweenProperty {0} in tween {1}", tweenProp, tween );

// handle the different duplicate property rules
if( duplicatePropertyRule == GoDuplicatePropertyRuleType.DontAddCurrentProperty )
{
Expand Down

0 comments on commit f1ce7b2

Please sign in to comment.