Fix T74003: Autocomplete bug with mesh.loop_triangles. in Blender Python Console.
The collection property `loop_triangles` was given the RNA type `MeshLoopTriangle` (the type of the collection's items), instead of `MeshLoopTriangles` (the actual expected RNA collection/array type). The cutest, tiniest typo mistake in RNA code, leading to some complete non-sense... It's fairly amazing that this did not cause more severe issues actually.
This commit is contained in:
parent
001f7c92d1
commit
69c587888b
Notes:
blender-bot
2023-02-14 05:53:42 +01:00
Referenced by issue #74274, Blender 2.82a proposed revisions Referenced by issue #74003, Autocomplete bug with mesh.loop_triangles. in Blender Python Consolle
|
@ -2274,7 +2274,7 @@ static void rna_def_mesh_looptris(BlenderRNA *brna, PropertyRNA *cprop)
|
|||
{
|
||||
StructRNA *srna;
|
||||
|
||||
RNA_def_property_srna(cprop, "MeshLoopTriangle");
|
||||
RNA_def_property_srna(cprop, "MeshLoopTriangles");
|
||||
srna = RNA_def_struct(brna, "MeshLoopTriangles", NULL);
|
||||
RNA_def_struct_sdna(srna, "Mesh");
|
||||
RNA_def_struct_ui_text(
|
||||
|
|
Loading…
Reference in New Issue