Blender Git Loki

Git Commits -> Revision f12d2ad

Revision f12d2ad by Campbell Barton (master)
November 7, 2018, 21:54 (GMT)
RNA: Object.select_set use boolean, only select

- Was setting active state, making it necessary to backup/restore
active object in cases where this isn't needed.
Existing scripts are explicitly setting the active object when needed.

- Use a boolean select arg (toggle selection wasn't used anywhere).

- Add an optional view layer argument since scripts should be able to
operate outside the user context.

Commit Details:

Full Hash: f12d2adc870e4bc032f49b9edae85c3b0366b406
Parent Commit: c121bc6
Lines Changed: +27, -42

13 Modified Paths:

/doc/python_api/examples/bpy.types.Object.py (+1, -1) (Diff)
/release/scripts/startup/bl_operators/clip.py (+1, -1) (Diff)
/release/scripts/templates_py/batch_export.py (+3, -3) (Diff)
/release/scripts/templates_py/operator_modal_view3d_raycast.py (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object_api.c (+12, -27) (Diff)
/tests/python/view_layer/test_evaluation_selectability_a.py (+1, -1) (Diff)
/tests/python/view_layer/test_evaluation_selectability_b.py (+1, -1) (Diff)
/tests/python/view_layer/test_evaluation_selectability_c.py (+1, -1) (Diff)
/tests/python/view_layer/test_evaluation_selectability_d.py (+1, -1) (Diff)
/tests/python/view_layer/test_evaluation_selectability_e.py (+1, -1) (Diff)
/tests/python/view_layer/test_group_e.py (+2, -2) (Diff)
/tests/python/view_layer/test_make_single_user.py (+1, -1) (Diff)
/tests/python/view_layer/test_scene_copy_e.py (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021