merge own commits into render branch into trunk since 27560

27562, 27570, 27571, 27574, 27576, 27577, 27579, 27590, 27591, 27594, 27595, 27596, 27599, 27605, 27611, 27612, 27613, 27614, 27623
This commit is contained in:
Campbell Barton
2010-03-20 16:41:01 +00:00
parent 7178f10b81
commit 391cc2d004
44 changed files with 619 additions and 240 deletions

View File

@@ -44,7 +44,7 @@ class DataButtonsPanelActive(DataButtonsPanel):
def poll(self, context):
curve = context.curve
return (curve and curve.active_spline)
return (curve and curve.splines.active)
class DATA_PT_context_curve(DataButtonsPanel):
@@ -205,7 +205,7 @@ class DATA_PT_active_spline(DataButtonsPanelActive):
ob = context.object
curve = context.curve
act_spline = curve.active_spline
act_spline = curve.splines.active
is_surf = (ob.type == 'SURFACE')
is_poly = (act_spline.type == 'POLY')