Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Configuration xml does not allow ~ or ~user in paths #46

@wphicks

Description

@wphicks

Right now, BlenderVR does not properly handle paths containing ~ or ~user in the configuration xml. As a low-priority convenience, it would be useful to allow users to specify such paths.

Steps to reproduce:

  1. Create a configuration xml with either <starter blender='~/my/path/to/blender'> or <blenderplayer executable='~/my/path/to/blenderplayer'/>
  2. Attempt to run any sample using this configuration.

Expected behavior:
The sample should run without errors if the given path points to a valid blender executable.

Observed behavior:
Error message "Error : invalid blender path" or "Cannot start blenderplayer"

I have implemented a (trivial) fix for the specific issue of the blender and blenderplayer executables at wphicks/BlenderVR-source@6bbccfa, but it would be better to make sure that this issue does not exist for any other configuration option. Best of all would be to handle all configuration paths via some consistent path normalization function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions