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

Blender 2.6 Bug Tracker: Browse

[#24451] Motion path not automatic recalculating + locking obj moving

Date:
2010-10-30 03:54
Priority:
3
State:
Closed
Submitted by:
Dalai Felinto (dfelinto)
Assigned to:
Campbell Barton (campbellbarton)
Category:
None
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Motion path not automatic recalculating + locking obj moving
Detailed description
0) default blender scene
1) set a key for the cube (e.g. location)
2) advance a few frames, move the cube and set another key
3) in object panel (in properties editor) calculate Motion Path
4) try to move the object, it doesn't work

It seems to me that automatic recalculation is never working. Even though in both bones and objects code we are explicitly trying to recalculate the paths.
So to work that around I did this change:

\bf\source\blender\editors\transform\transform_conversions.c
around 5069::

if (C && recalcObPaths) {
//ED_objects_clear_paths(C); // XXX for now, don't need to clear
-ED_objects_recalculate_paths(C, t->scene);
+//ED_objects_recalculate_paths(C, t->scene);
}

It solves the immediate issue (locking down of location). But is no where close to address the real one (automatic recalculation broken).
(attached file reproduces this problem)

Followup

Message
  • Date: 2010-11-04 00:50
  • Sender: Campbell Barton
  • fixed r32863.
    by applying transform data after calculating paths.
  • Date: 2010-11-04 02:17
  • Sender: Dalai Felinto
  • Hi Campbell, thanks. That fix the "locking obj moving" but not the automatic recalculation. Do you know if the auto recalculation has ever worked ? The code suggests so, but if not we can leave this reported closed.
 

Attached Files:

Name Date Download
motionpath.blend 2010-10-30 03:54 Download

Changes:

Field Old Value Date By
close_date2010-11-04 02:172010-11-04 02:17dfelinto
ResolutionNone2010-11-04 00:50campbellbarton
close_date2010-11-04 00:502010-11-04 00:50campbellbarton
assigned_toaligorith2010-11-04 00:50campbellbarton
status_idOpen2010-11-04 00:50campbellbarton
File Added13302: motionpath.blend2010-10-30 03:54dfelinto