Visibility panel: Use "toggle" keyword
authorDalai Felinto <dfelinto@gmail.com>
Wed, 22 May 2019 16:18:44 +0000 (16:18 +0000)
committerDalai Felinto <dfelinto@gmail.com>
Wed, 22 May 2019 16:22:02 +0000 (16:22 +0000)
commit6539cf319924a6a5bb473898dc343fd2485b2800
treec41ea62fe92fe8b8ba1d67551c93c9dda8181cab
parent5397d8d268244c34ecab94f89885e64925acc50e
Visibility panel: Use "toggle" keyword

No functional nor visual change.
This is a partial revert of 0910932e71d2.

The toggle option was introduced on 6640bcca7422.
This allow us to simplify the outliner draw code so it uses the icon as
defined in the RNA (as oppose to get the value there once again).
release/scripts/startup/bl_ui/properties_object.py
source/blender/editors/space_outliner/outliner_draw.c
source/blender/makesrna/intern/rna_object.c