Blender Git Loki

Git Commits -> Revision cf3bb40

Revision cf3bb40 by Lukas Toenne (master)
July 18, 2014, 09:37 (GMT)
Fix T41081: Presets not working on pinned properties panels.

Preset operators should avoid using `bpy.context.object.data` as a base
path to properties. This path is not available in the buttons context
when using pinned datablocks! Instead use the specific
`bpy.context.camera` and `bpy.context.lamp.sky` paths now, which lead to
the correct datablocks in any case.

Commit Details:

Full Hash: cf3bb40c625716ea083ee453e5263cc9e759ee18
Parent Commit: 813ece7
Lines Changed: +152, -152

38 Modified Paths:

/release/scripts/presets/camera/1__colon__2.3_inch.py (+3, -3) (Diff)
/release/scripts/presets/camera/1__colon__2.5_inch.py (+3, -3) (Diff)
/release/scripts/presets/camera/2__colon__3_inch.py (+3, -3) (Diff)
/release/scripts/presets/camera/4__colon__3_inch.py (+3, -3) (Diff)
/release/scripts/presets/camera/Arri_Alexa.py (+3, -3) (Diff)
/release/scripts/presets/camera/Blackmagic_Cinema_Camera.py (+3, -3) (Diff)
/release/scripts/presets/camera/Blender.py (+3, -3) (Diff)
/release/scripts/presets/camera/Canon_1100D.py (+3, -3) (Diff)
/release/scripts/presets/camera/Canon_APS-C.py (+3, -3) (Diff)
/release/scripts/presets/camera/Canon_APS-H.py (+3, -3) (Diff)
/release/scripts/presets/camera/Canon_C300.py (+3, -3) (Diff)
/release/scripts/presets/camera/Full_Frame_35mm_Camera.py (+3, -3) (Diff)
/release/scripts/presets/camera/GoPro_Hero3_Black.py (+4, -4) (Diff)
/release/scripts/presets/camera/GoPro_Hero3_Silver.py (+4, -4) (Diff)
/release/scripts/presets/camera/GoPro_Hero3_White.py (+4, -4) (Diff)
/release/scripts/presets/camera/iPhone_4.py (+4, -4) (Diff)
/release/scripts/presets/camera/iPhone_4S.py (+4, -4) (Diff)
/release/scripts/presets/camera/iPhone_5.py (+4, -4) (Diff)
/release/scripts/presets/camera/Nexus_5.py (+4, -4) (Diff)
/release/scripts/presets/camera/Nikon_D3100.py (+3, -3) (Diff)
/release/scripts/presets/camera/Nikon_DX.py (+3, -3) (Diff)
/release/scripts/presets/camera/Panasonic_AG-HVX200.py (+3, -3) (Diff)
/release/scripts/presets/camera/Panasonic_LX2.py (+3, -3) (Diff)
/release/scripts/presets/camera/Red_Epic.py (+3, -3) (Diff)
/release/scripts/presets/camera/Red_One_2K.py (+3, -3) (Diff)
/release/scripts/presets/camera/Red_One_3K.py (+3, -3) (Diff)
/release/scripts/presets/camera/Red_One_4K.py (+3, -3) (Diff)
/release/scripts/presets/camera/Samsung_Galaxy_S3.py (+4, -4) (Diff)
/release/scripts/presets/camera/Samsung_Galaxy_S4.py (+4, -4) (Diff)
/release/scripts/presets/camera/Sony_A55.py (+3, -3) (Diff)
/release/scripts/presets/camera/Sony_EX1.py (+3, -3) (Diff)
/release/scripts/presets/camera/Sony_F65.py (+3, -3) (Diff)
/release/scripts/presets/camera/super_16_film.py (+3, -3) (Diff)
/release/scripts/presets/camera/super_35_film.py (+3, -3) (Diff)
/release/scripts/presets/sunsky/classic.py (+13, -13) (Diff)
/release/scripts/presets/sunsky/desert.py (+13, -13) (Diff)
/release/scripts/presets/sunsky/mountain.py (+13, -13) (Diff)
/release/scripts/startup/bl_operators/presets.py (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021