[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [61039] trunk/blender/source/blender/ makesrna/intern/rna_tracking.c: Expose is_keyframed flag for tracking marker

Sergey Sharybin sergey.vfx at gmail.com
Fri Nov 1 10:09:43 CET 2013


Fine with the change but will do it later (need some time to adopt after
the flight, maybe some sleep even :)

But please don't change it yet, Keir might be using it. Will need to
coordinate change with him.


On Fri, Nov 1, 2013 at 6:34 AM, Campbell Barton <ideasman42 at gmail.com>wrote:

> This could be called `is_keyed`, particles for eg use `keyed_loops`
>
> On Fri, Nov 1, 2013 at 3:06 PM, Sergey Sharybin <sergey.vfx at gmail.com>
> wrote:
> > Revision: 61039
> >
> http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=61039
> > Author:   nazgul
> > Date:     2013-11-01 04:06:01 +0000 (Fri, 01 Nov 2013)
> > Log Message:
> > -----------
> > Expose is_keyframed flag for tracking marker
> >
> > So now it's possible to know from python whether
> > marker is a keyframe or tracked one.
> >
> > Modified Paths:
> > --------------
> >     trunk/blender/source/blender/makesrna/intern/rna_tracking.c
> >
> > Modified: trunk/blender/source/blender/makesrna/intern/rna_tracking.c
> > ===================================================================
> > --- trunk/blender/source/blender/makesrna/intern/rna_tracking.c
> 2013-11-01 01:16:57 UTC (rev 61038)
> > +++ trunk/blender/source/blender/makesrna/intern/rna_tracking.c
> 2013-11-01 04:06:01 UTC (rev 61039)
> > @@ -1089,6 +1089,12 @@
> >                                  "Right-bottom corner of search area in
> normalized coordinates relative "
> >                                  "to marker position");
> >         RNA_def_property_update(prop, NC_MOVIECLIP | NA_EDITED,
> "rna_tracking_markerSearch_update");
> > +
> > +       /* is marker keyframed */
> > +       prop = RNA_def_property(srna, "is_keyframed", PROP_BOOLEAN,
> PROP_NONE);
> > +       RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
> > +       RNA_def_property_boolean_negative_sdna(prop, NULL, "flag",
> MARKER_TRACKED);
> > +       RNA_def_property_ui_text(prop, "Keyframed", "Indicates whether
> position of marker is keyframed, not tracked");
> >  }
> >
> >  static void rna_def_trackingMarkers(BlenderRNA *brna, PropertyRNA
> *cprop)
> >
> > _______________________________________________
> > Bf-blender-cvs mailing list
> > Bf-blender-cvs at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-blender-cvs
>
>
>
> --
> - Campbell
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
With best regards, Sergey Sharybin


More information about the Bf-committers mailing list