Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/version_update.py
| Show First 20 Lines • Show All 296 Lines • ▼ Show 20 Lines | if bpy.data.version <= (2, 76, 10): | ||||
| if cscene.filter_type == 'BLACKMAN_HARRIS': | if cscene.filter_type == 'BLACKMAN_HARRIS': | ||||
| cscene.filter_type = 'GAUSSIAN' | cscene.filter_type = 'GAUSSIAN' | ||||
| if bpy.data.version <= (2, 78, 2): | if bpy.data.version <= (2, 78, 2): | ||||
| for scene in bpy.data.scenes: | for scene in bpy.data.scenes: | ||||
| cscene = scene.cycles | cscene = scene.cycles | ||||
| if not cscene.is_property_set("light_sampling_threshold"): | if not cscene.is_property_set("light_sampling_threshold"): | ||||
| cscene.light_sampling_threshold = 0.0 | cscene.light_sampling_threshold = 0.0 | ||||
| if bpy.data.version <= (2, 79, 0): | |||||
| for scene in bpy.data.scenes: | |||||
| cscene = scene.cycles | |||||
| # Default changes | |||||
| if not cscene.is_property_set("aa_samples"): | |||||
| cscene.aa_samples = 4 | |||||
| if not cscene.is_property_set("preview_aa_samples"): | |||||
| cscene.preview_aa_samples = 4 | |||||
| if not cscene.is_property_set("blur_glossy"): | |||||
| cscene.blur_glossy = 0.0 | |||||
| if not cscene.is_property_set("sample_clamp_indirect"): | |||||
| cscene.sample_clamp_indirect = 0.0 | |||||