Merge branch 'master' into blender2.8
[blender-addons.git] / space_view3d_display_tools / scene_vis.py
blob594a894f06ceaa620a0a411b8b3c9b9976861b58
1 # space_view_3d_display_tools.py Copyright (C) 2014, Jordi Vall-llovera
2 # Multiple display tools for fast navigate/interact with the viewport
4 # ***** BEGIN GPL LICENSE BLOCK *****
6 # This program is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU General Public License
8 # as published by the Free Software Foundation; either version 2
9 # of the License, or (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software Foundation,
18 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 # ***** END GPL LICENCE BLOCK *****
22 """
23 Additional links:
24 Author Site: http://www.jordiart.com
25 """
27 import bpy
30 # Set Render Settings
31 def set_render_settings(context):
32 scene = context.scene
33 render = scene.render
34 render.simplify_subdivision = 0
35 render.simplify_shadow_samples = 0
36 render.simplify_child_particles = 0
37 render.simplify_ao_sss = 0
40 # Register
41 def register():
42 bpy.utils.register_module(__name__)
45 def unregister():
46 bpy.utils.unregister_module(__name__)
49 if __name__ == "__main__":
50 register()