mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 03:16:10 +00:00
fixed small bugs
This commit is contained in:
parent
85c3fb8d45
commit
e41bcc1178
@ -836,12 +836,12 @@ int ExtraMeshDecoratePlugin::getDecorationClass(QAction *action) const
|
||||
case DP_SHOW_BOX_CORNERS :
|
||||
case DP_SHOW_QUOTED_BOX :
|
||||
case DP_SHOW_LABEL :
|
||||
case DP_SHOW_CAMERA :
|
||||
case DP_SHOW_TEXPARAM :
|
||||
/*case DP_SHOW_SELECTED_FACE :
|
||||
case DP_SHOW_SELECTED_VERT :*/
|
||||
case DP_SHOW_BOUNDARY_TEX : return ExtraMeshDecoratePlugin::PerMesh;
|
||||
case DP_SHOW_AXIS : return ExtraMeshDecoratePlugin::PerDocument;
|
||||
case DP_SHOW_CAMERA : return ExtraMeshDecoratePlugin::PerDocument;
|
||||
case DP_SHOW_SELECTED_MESH : return ExtraMeshDecoratePlugin::PerDocument;
|
||||
}
|
||||
assert (0);
|
||||
|
||||
@ -80,7 +80,7 @@ public:
|
||||
{
|
||||
typeList <<
|
||||
DP_SHOW_VERT <<
|
||||
DP_SHOW_EDGE <<
|
||||
//DP_SHOW_EDGE <<
|
||||
DP_SHOW_NON_FAUX_EDGE <<
|
||||
DP_SHOW_BOUNDARY <<
|
||||
DP_SHOW_NON_MANIF_EDGE <<
|
||||
|
||||
@ -617,7 +617,7 @@ void DecorateRasterProjPlugin::decorateDoc( QAction *act,
|
||||
{
|
||||
case DP_PROJECT_RASTER:
|
||||
{
|
||||
if ((gla == NULL) || (gla->getCurrentRenderMode()))
|
||||
if ((gla == NULL) || (gla->getCurrentRenderMode() == NULL))
|
||||
return;
|
||||
glPushAttrib( GL_ALL_ATTRIB_BITS );
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user