Skip to content

Commit

Permalink
Merge pull request #89 from ch-sa/ch-sa/small-improvements
Browse files Browse the repository at this point in the history
Small improvements
  • Loading branch information
ch-sa authored Jul 11, 2022
2 parents c43b09c + 757a2c4 commit badf241
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,6 @@ cython_debug/

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace

# Local History for Visual Studio Code
Expand Down
2 changes: 1 addition & 1 deletion labelCloud/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.7.7"
__version__ = "0.7.8"
8 changes: 6 additions & 2 deletions labelCloud/model/point_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
from pathlib import Path
from typing import List, Optional, Tuple

import pkg_resources

import numpy as np
import OpenGL.GL as GL
import pkg_resources

from . import Perspective
from ..control.config_manager import config
Expand Down Expand Up @@ -98,7 +99,10 @@ def __init__(

@classmethod
def from_file(
cls, path: Path, perspective: Optional[Perspective], write_buffer: bool = True
cls,
path: Path,
perspective: Optional[Perspective] = None,
write_buffer: bool = True,
) -> "PointCloud":
init_translation, init_rotation = (None, None)
if perspective:
Expand Down
2 changes: 1 addition & 1 deletion labelCloud/view/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ def show_no_pointcloud_dialog(
"specified folder.</b>"
)
msg.setInformativeText(
f"Please copy all your point clouds into <em>{pcd_folder}</em> or change "
f"Please copy all your point clouds into <code>{pcd_folder.resolve()}</code> or update "
"the point cloud folder location. labelCloud supports the following point "
f"cloud file formats:\n {', '.join(pcd_extensions)}."
)
Expand Down

0 comments on commit badf241

Please sign in to comment.