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:
@@ -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')
|
||||
|
||||
|
Reference in New Issue
Block a user