This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender
Bastien Montagne cd9ce01657 RNA define: check and report invalid usages of ID pointers properties.
Some RNA structs, like operators or keymaps, are not allowed to have ID
pointer properties. now this check will ignore those, and report an
error message in the console.

Related to T82597.

Notes: While a bit more involved than rBf39fbb3e6046, this commit
remains fairly localized and non-intrusive.

It relies on some rather obscure and weird behaviors of our RNA code
though, a cleaner solution could be e.g. to add a tye to
`StructOrFunctionRNA`, so that we could properly 'rebuild' (re-cast) the
pointer to either `StructRNA` or `FunctionRNA` when needed in internal
code...
2020-11-17 12:56:26 +01:00
..
2020-10-26 15:59:08 +11:00
2020-11-16 16:48:19 +11:00
2020-10-19 08:12:33 -07:00
2020-11-17 04:10:51 +01:00
2020-11-09 15:47:08 +11:00
2020-11-16 16:48:41 +11:00
2020-11-16 16:48:41 +11:00
2020-11-09 15:47:08 +11:00