Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyquest committed Sep 20, 2024
2 parents f4cbbb1 + 20c8ced commit 941b3c0
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 29 deletions.
6 changes: 3 additions & 3 deletions MainMenuCommon.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ import qlibutils; qlibutils.open_hda_dirs()]]>

<separatorItem />

<scriptItem id="h.ql_browse_HIH_root">
<label>$HIH: User Config Files...</label>
<scriptItem id="h.ql_browse_user_pref_dir">
<label>$HOUDINI_USER_PREF_DIR: User Config Files...</label>
<scriptCode><![CDATA[
import qlibutils; qlibutils.open_dir(env="HIH")]]>
import qlibutils; qlibutils.open_dir(env="HOUDINI_USER_PREF_DIR")]]>
</scriptCode>
</scriptItem>

Expand Down
Binary file modified gallery/qLib--TOP--value_selector.gal
Binary file not shown.
2 changes: 1 addition & 1 deletion help/qlib/mainmenu/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Open in File Browser:
Opens the folder(s) that contain the definitions
of the currently selected HDAs or complied plug-in DSOs (DLLs).

$HIH: User Config Files...:
$HOUDINI_USER_PREF_DIR: User Config Files...:
Opens the user's preferences folder
(usually called _houdiniXX.X_).

Expand Down
4 changes: 2 additions & 2 deletions houdini.env_linux
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
#

# QLIB variable should point to the downloaded and extracted qLib package
# ($HIH is the $HOME/houdiniXX.X folder)
# ($HOUDINI_USER_PREF_DIR is the $HOME/houdiniXX.X folder)
#
QLIB=$HIH/qLib-dev
QLIB=$HOUDINI_USER_PREF_DIR/qLib-dev
QOTL=$QLIB/otls

HOUDINI_OTLSCAN_PATH = $QOTL/base:$QOTL/future:$QOTL/experimental:$HOUDINI_OTLSCAN_PATH:&
Expand Down
6 changes: 3 additions & 3 deletions houdini.env_windows
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# houdini.env
# ===========
#
# example snippet (linux)
# example snippet (windows)
#
#
#

# QLIB variable should point to the downloaded and extracted qLib package
# ($HIH is the $HOME/houdiniXX.X folder)
# ($HOUDINI_USER_PREF_DIR is the $HOME/houdiniXX.X folder)
#
QLIB=$HIH/qLib-dev
QLIB=$HOUDINI_USER_PREF_DIR/qLib-dev
QOTL=$QLIB/otls

HOUDINI_OTLSCAN_PATH = $QOTL/base;$QOTL/future;$QOTL/experimental;$HOUDINI_OTLSCAN_PATH;&
Expand Down
Binary file modified otls/experimental/switch_by_string_ql_SOP.otl
Binary file not shown.
2 changes: 1 addition & 1 deletion qLib_package_linux.json → qLib_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

"env": [
{
"QLIB": "$HIH/qLib-master"
"QLIB": "$HOUDINI_USER_PREF_DIR/qLib-master"
},
{
"QOTL": "$QLIB/otls"
Expand Down
18 changes: 0 additions & 18 deletions qLib_package_windows.json

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/python/qlibutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def do_crash_recovery(calledFromUI=False):

sel = hou.ui.selectFromList(files, exclusive=True,
title="Crash Recovery",
message="Select .hip File to Recover")
message="Select .hip File to Recover\n(from: %s)" % tmpdir)

recovered = False
if len(sel) > 0:
Expand Down

0 comments on commit 941b3c0

Please sign in to comment.