Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2019-05-21 16:49:05 +0300
committerDalai Felinto <dfelinto@gmail.com>2019-05-22 01:24:04 +0300
commit0910932e71d2b869e0f9d4289d89f20c64beabaa (patch)
tree534961a356c0cf86efa282f3fb9ba9d9ce5327fe /release/scripts/templates_py
parent58a75d01a6247063ae3a570150a4402e3cdf1e5a (diff)
Remove "_base*" from context API
We are not exposing RNA_ObjectBase in the 2.80 API. Thus we can't have operators relying on it (e.g, CTX_data_visible_bases, CTX_data_active_base, ...). Otherwise users won't be able to override context for these operators. This commit keep the CTX_data_.*bases() functions around so we don't need to change the operators and potentially break things that late into 2.80. However as far as the Python scripters are concerned there is no base to be overriden, ever. That also simplify the guessing game addon developers have to play when trying to override an operatori context. They still need to find whether an operator requires editables, visibles, selected, ... objects. But at least they don't need to find out whether the operators need base or object.
Diffstat (limited to 'release/scripts/templates_py')
0 files changed, 0 insertions, 0 deletions