Fixed bug #22515, RegionView3D has weird width/height values
* Changed the RNA for RegionView3D to not inherit from "Region", which is "ARegion" in DNA. As far as I know, in order to inherit like that the RegionView3D struct would need to start with an ARegion struct?
This commit is contained in:
parent
0a7d036f32
commit
8cb33327d8
@ -1161,7 +1161,7 @@ static void rna_def_space_view3d(BlenderRNA *brna)
|
|||||||
|
|
||||||
/* region */
|
/* region */
|
||||||
|
|
||||||
srna= RNA_def_struct(brna, "RegionView3D", "Region");
|
srna= RNA_def_struct(brna, "RegionView3D", NULL);
|
||||||
RNA_def_struct_sdna(srna, "RegionView3D");
|
RNA_def_struct_sdna(srna, "RegionView3D");
|
||||||
RNA_def_struct_ui_text(srna, "3D View Region", "3D View region data");
|
RNA_def_struct_ui_text(srna, "3D View Region", "3D View region data");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user