Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#24565] editors/armature: overwritten return value

Date:
2010-11-05 23:54
Priority:
3
State:
Closed
Submitted by:
Nicolas Kaiser (nikai)
Assigned to:
Martin Poirier (theeth)
Category:
None
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
editors/armature: overwritten return value
Detailed description
Hi there!

I noticed a return value that gets overwritten. Just wanted to
bring it to your attention, it looks to me as if this might
not be intended at this point.

Best regards,
Nicolas Kaiser

--- ./source/blender/editors/armature/editarmature_retarget.c 2010-11-05 22:32:56.366777160 +0100
@@ -1920,12 +1920,9 @@ static RetargetMode detectArcRetargetMod
-> mode = RETARGET_LENGTH;
}

if (earc->bcount <= (iarc->count - 1))
{
-> mode = RETARGET_LENGTH;
}

-> mode = RETARGET_AGGRESSIVE;

return mode;
}

Followup

Message
  • Date: 2010-11-06 18:25
  • Sender: Martin Poirier
  • Thanks for the catch. Probably testing code lying around.
 

Attached Files:

No Files Currently Attached

Changes:

Field Old Value Date By
ResolutionInvestigate2010-11-06 18:25theeth
close_date2010-11-06 18:252010-11-06 18:25theeth
status_idOpen2010-11-06 18:25theeth
assigned_tonone2010-11-06 12:47aligorith