svn merge -r41655:41715 ^/trunk/blender --- this is the real cycles merge, needs some edits to cycles its self before cycles will build
This commit is contained in:
@@ -86,7 +86,7 @@ class AddTorus(Operator):
|
||||
'''Add a torus mesh'''
|
||||
bl_idname = "mesh.primitive_torus_add"
|
||||
bl_label = "Add Torus"
|
||||
bl_options = {'REGISTER', 'UNDO'}
|
||||
bl_options = {'REGISTER', 'UNDO', 'PRESET'}
|
||||
|
||||
major_radius = FloatProperty(
|
||||
name="Major Radius",
|
||||
|
||||
@@ -395,9 +395,8 @@ class AddPresetOperator(AddPresetBase, Operator):
|
||||
options={'HIDDEN'},
|
||||
)
|
||||
|
||||
# XXX, not ideal
|
||||
preset_defines = [
|
||||
"op = bpy.context.space_data.operator",
|
||||
"op = bpy.context.active_operator",
|
||||
]
|
||||
|
||||
@property
|
||||
@@ -432,7 +431,7 @@ class WM_MT_operator_presets(Menu):
|
||||
bl_label = "Operator Presets"
|
||||
|
||||
def draw(self, context):
|
||||
self.operator = context.space_data.operator.bl_idname
|
||||
self.operator = context.active_operator.bl_idname
|
||||
Menu.draw_preset(self, context)
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user