This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# made in response to | |
# http://blender.stackexchange.com/q/46461/935 | |
bl_info = { | |
"version": (1, 0), | |
"blender": (2, 75, 0), | |
"author": "sambler", | |
"name": "Timed edit mode", | |
"description": "Use tab to go into edit mode, if tab is held and mouse is moved then show the mode pie menu." , |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# made in response to | |
# http://blender.stackexchange.com/q/49552/935 | |
bl_info = { | |
"version": (1, 0), | |
"blender": (2, 75, 0), | |
"author": "sambler", | |
"name": "testing addon", | |
"location": "blender", | |
"description": "test showing material nodes in toolshelf" , |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for http://blender.stackexchange.com/q/56741/935 | |
bl_info = { | |
'version': (1, 0), | |
'blender': (2, 75, 0), | |
'author': 'sambler', | |
'name': 'Custom Object Factory', | |
'location': 'blender', | |
'description': 'Create multiple custom operators that create objects' , |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/source/blender/imbuf/intern/oiio/openimageio_api.cpp b/source/blender/imbuf/intern/oiio/openimageio_api.cpp | |
index 11bf454..a68da9a 100644 | |
--- a/source/blender/imbuf/intern/oiio/openimageio_api.cpp | |
+++ b/source/blender/imbuf/intern/oiio/openimageio_api.cpp | |
@@ -176,6 +176,8 @@ int imb_is_a_photoshop(const char *filename) | |
".psd", | |
".pdd", | |
".psb", | |
+ ".dng", | |
+ ".cr2", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bl_info = {"version": (1, 0), "blender": (2, 75, 0), "author": "myname", | |
"name": "testing addon", "location": "blender", "description": "test a new addon" , | |
"warning": "only for testing", "category": "test", } | |
import bpy | |
# add your operators, panels ..... | |
def register() : | |
bpy.types.scene.my_int_storage = bpy.props.IntProperty() | |
bpy.utils.register_class(myOperator) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# made in response to http://blender.stackexchange.com/q/60583/935 | |
bl_info = { | |
"version": (1, 0), | |
"blender": (2, 75, 0), | |
"author": "sambler", | |
"name": "Sample Panel with subpanels addon", | |
"description": """Sample addon to demonstrate displaying sub-panels within a panel""" , | |
"category": "test", | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# made in answer to http://blender.stackexchange.com/q/67612/935 | |
# create a mesh of satellites based on http://space.stackexchange.com/q/19055 | |
import bpy, bpy_extras, bmesh | |
import math, mathutils | |
if False: # change to True for final test - needs about 6GB free ram | |
# full data | |
# num_planes, num_sats, radius, frames | |
# frames is number of frames that the orbital plane takes to rotate 360 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# made in answer to http://blender.stackexchange.com/q/74086/935 | |
import bpy | |
master_render_scene_name = 'Multi_render' | |
base_path = '//renders/' | |
if master_render_scene_name not in bpy.data.scenes: | |
bpy.data.scenes.new(name=master_render_scene_name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for comment at http://blender.stackexchange.com/a/14188/935 | |
import bpy | |
import bmesh | |
from bpy.props import BoolProperty, FloatVectorProperty | |
import mathutils | |
from bpy_extras import object_utils | |
# from blender templates | |
def add_box(width, height, depth): |