策略抽离
This commit is contained in:
@@ -180,7 +180,8 @@ std::shared_ptr<Grid> Grid::Builder::build() {
|
||||
auto ret = renderive::make_shared<Grid>();
|
||||
ret->init(parent);
|
||||
Grid_Private* pd = ret->d();
|
||||
Grid_Render_State* sc = reinterpret_cast<Grid_Render_State*>(pd->edit_state());
|
||||
Render_Edit_Lease<Grid_Private, Grid_Render_State> edit(pd);
|
||||
Grid_Render_State* sc = edit.operator->();
|
||||
PROP_R(std::weak_ptr<Abs_Axis>, domain_axis)
|
||||
PROP_R(std::weak_ptr<Abs_Axis>, value_axis)
|
||||
PROP_R(bool, domain_grid)
|
||||
|
||||
Reference in New Issue
Block a user