comment/remove various unused vars,
also make rna function for new images require width and hight args.
This commit is contained in:
@@ -1108,7 +1108,7 @@ static void rna_def_curve_spline_points(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
//PropertyRNA *prop;
|
||||
|
||||
FunctionRNA *func;
|
||||
PropertyRNA *parm;
|
||||
//PropertyRNA *parm;
|
||||
|
||||
RNA_def_property_srna(cprop, "SplinePoints");
|
||||
srna= RNA_def_struct(brna, "SplinePoints", NULL);
|
||||
@@ -1118,7 +1118,7 @@ static void rna_def_curve_spline_points(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
func= RNA_def_function(srna, "add", "rna_Curve_spline_points_add");
|
||||
RNA_def_function_ui_description(func, "Add a number of points to this spline.");
|
||||
RNA_def_function_flag(func, FUNC_USE_SELF_ID|FUNC_USE_REPORTS);
|
||||
parm= RNA_def_int(func, "number", 1, INT_MIN, INT_MAX, "Number", "Number of points to add to the spline", 0, INT_MAX);
|
||||
RNA_def_int(func, "number", 1, INT_MIN, INT_MAX, "Number", "Number of points to add to the spline", 0, INT_MAX);
|
||||
|
||||
/*
|
||||
func= RNA_def_function(srna, "remove", "rna_Curve_spline_remove");
|
||||
|
||||
Reference in New Issue
Block a user