[Bf-blender-cvs] [460a96d] master: Use factor subtype for plane track opacity
Sergey Sharybin
noreply at git.blender.org
Thu Dec 12 08:51:27 CET 2013
Commit: 460a96dc5a09110bb3617c0f3528473573504b69
Author: Sergey Sharybin
Date: Thu Dec 12 13:51:04 2013 +0600
http://developer.blender.org/rB460a96dc5a09110bb3617c0f3528473573504b69
Use factor subtype for plane track opacity
===================================================================
M source/blender/makesrna/intern/rna_tracking.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_tracking.c b/source/blender/makesrna/intern/rna_tracking.c
index 871bc15..7acd078 100644
--- a/source/blender/makesrna/intern/rna_tracking.c
+++ b/source/blender/makesrna/intern/rna_tracking.c
@@ -1483,7 +1483,7 @@ static void rna_def_trackingPlaneTrack(BlenderRNA *brna)
RNA_def_property_update(prop, NC_MOVIECLIP | ND_DISPLAY, NULL);
/* image opacity */
- prop = RNA_def_property(srna, "image_opacity", PROP_FLOAT, PROP_NONE);
+ prop = RNA_def_property(srna, "image_opacity", PROP_FLOAT, PROP_FACTOR);
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
RNA_def_property_range(prop, 0.0, 1.0);
RNA_def_property_ui_text(prop, "Image Opacity", "Opacity of the image");
More information about the Bf-blender-cvs
mailing list