Cleanup: Remove useless duplicated lines

I spotted a duplicate struct declaration, so I had to check for other duplicated as well
There might be some other but i am not confident enough for deleting them

this regex search for duplicate ^(.*;)$\n(\1)$

Reviewed By: JacquesLucke

Differential Revision: https://developer.blender.org/D8146
This commit is contained in:
Valentin 2020-07-02 16:34:17 -04:00 committed by Aaron Carlisle
parent ef0ec01461
commit f3e4a3473e
11 changed files with 2 additions and 15 deletions

@ -1 +1 @@
Subproject commit caf68fed42f55e606b14c7105f5df694957ce036
Subproject commit f1ab6e28bf1626daf898fc65e144f1e4e4f2098a

@ -1 +1 @@
Subproject commit bc1262f4d61feeba235bb75046e65e0e8411241f
Subproject commit 9128155de32592d84b08426a54ae1e56f02d4635

View File

@ -57,7 +57,6 @@ struct ReportList;
struct Scene;
struct StrokeCache;
struct SubdivCCG;
struct SubdivCCG;
struct Tex;
struct ToolSettings;
struct UnifiedPaintSettings;

View File

@ -48,7 +48,6 @@ struct BVHTreeRay;
struct BVHTreeRayHit;
struct CustomData_MeshMasks;
struct Depsgraph;
struct Depsgraph;
struct EdgeHash;
struct KDTree_3d;
struct LatticeDeformData;

View File

@ -45,7 +45,6 @@ struct Mesh;
struct MeshElemMap;
struct Object;
struct PBVH;
struct PBVH;
struct SubsurfModifierData;
/**************************** External *****************************/

View File

@ -34,7 +34,6 @@ struct Depsgraph;
struct IDProperty;
struct ListBase;
struct Main;
struct Main;
struct Mesh;
struct MeshDeformModifierData;
struct Object;

View File

@ -47,8 +47,6 @@ struct ReportList;
struct Scene;
struct UndoType;
struct UvMapVert;
struct UvMapVert;
struct UvVertMap;
struct UvVertMap;
struct View3D;
struct ViewContext;

View File

@ -31,7 +31,6 @@ extern "C" {
struct ID;
struct Main;
struct Scene;
struct Scene;
struct ScrArea;
struct Tex;
struct View2D;
@ -40,7 +39,6 @@ struct bNode;
struct bNodeSocket;
struct bNodeSocketType;
struct bNodeTree;
struct bNodeTree;
struct bNodeTreeType;
struct bNodeType;

View File

@ -34,7 +34,6 @@ extern "C" {
struct Base;
struct Depsgraph;
struct EnumPropertyItem;
struct EnumPropertyItem;
struct ID;
struct Main;
struct ModifierData;

View File

@ -65,7 +65,6 @@ struct uiWidgetColors;
struct wmDrag;
struct wmDropBox;
struct wmEvent;
struct wmEvent;
struct wmGizmo;
struct wmKeyConfig;
struct wmKeyMap;

View File

@ -1036,7 +1036,6 @@ static void rna_def_trackingSettings(BlenderRNA *brna)
/* default_tracking_motion_model */
prop = RNA_def_property(srna, "default_motion_model", PROP_ENUM, PROP_NONE);
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
RNA_def_property_enum_items(prop, tracker_motion_model);
RNA_def_property_ui_text(prop, "Motion Model", "Default motion model to use for tracking");
@ -1070,7 +1069,6 @@ static void rna_def_trackingSettings(BlenderRNA *brna)
/* default minimal correlation */
prop = RNA_def_property(srna, "default_correlation_min", PROP_FLOAT, PROP_NONE);
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
RNA_def_property_float_sdna(prop, NULL, "default_minimum_correlation");
RNA_def_property_range(prop, 0.0f, 1.0f);
RNA_def_property_ui_range(prop, 0.0f, 1.0f, 0.05, 3);
@ -1203,7 +1201,6 @@ static void rna_def_trackingCamera(BlenderRNA *brna)
prop = RNA_def_property(srna, "units", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_sdna(prop, NULL, "units");
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
RNA_def_property_enum_items(prop, camera_units_items);
RNA_def_property_ui_text(prop, "Units", "Units used for camera focal length");