Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
Scotty3D
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Courses
Scotty3D
Commits
f12b4efc
Commit
f12b4efc
authored
3 years ago
by
Sanjay Salem
Browse files
Options
Downloads
Patches
Plain Diff
macOS fixes
parent
f44b0823
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/gui/model.cpp
+5
-5
5 additions, 5 deletions
src/gui/model.cpp
with
5 additions
and
5 deletions
src/gui/model.cpp
+
5
−
5
View file @
f12b4efc
...
...
@@ -473,20 +473,20 @@ bool Model::begin_extrude(std::string& err) {
auto
sel
=
selected_element
();
if
(
!
sel
.
has_value
())
return
false
;
std
::
optional
<
Halfedge_Mesh
::
ElementRef
>
ref
,
ref2
;
std
::
optional
<
Halfedge_Mesh
::
ElementRef
>
ref
;
Halfedge_Mesh
::
FaceRef
f
;
my_mesh
->
copy_to
(
old_mesh
);
auto
new_obj
=
std
::
visit
(
overloaded
{[
&
](
Halfedge_Mesh
::
FaceRef
face
)
{
beveling
=
Bevel
::
face
;
ref
2
=
my_mesh
->
bevel_face
(
face
);
return
ref
2
;
ref
=
my_mesh
->
bevel_face
(
face
);
return
ref
;
},
[
&
](
Halfedge_Mesh
::
VertexRef
vert
)
{
beveling
=
Bevel
::
vert
;
ref
2
=
my_mesh
->
extrude_vertex
(
vert
);
return
ref
2
;
ref
=
my_mesh
->
extrude_vertex
(
vert
);
return
ref
;
},
[
&
](
auto
)
->
std
::
optional
<
Halfedge_Mesh
::
ElementRef
>
{
return
std
::
nullopt
;
}},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment