Skip to content
This repository was archived by the owner on Apr 15, 2024. It is now read-only.

Commit ec09eff

Browse files
authored
Merge pull request #24 from takavfx/develop
Fix inherited stylesheet at a gap between widgets.
2 parents 6ea14f7 + 7c7328a commit ec09eff

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
!VERSION
3333
!ChangeLog
3434

35+
# Ignore Specific directories
36+
*.vscode
37+
3538
# Ignore Specific File Types
3639
*.pyc
3740
*.DS_Store

docs/camSwitcher.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Cam Switcehr
1+
# Cam Switcher
22

33
![](img/ss_cam_switcher_0001.png)
44

python2.7libs/camSwitcher.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,11 @@
66
"""
77
#-------------------------------------------------------------------------------
88

9-
__version__ = 'v1.1.0'
9+
__version__ = 'v1.1.1'
1010

1111
#-------------------------------------------------------------------------------
1212

1313
import os, sys
14-
sys.dont_write_bytecode = True
15-
16-
from functools import partial
17-
1814

1915
from hutil.Qt import QtWidgets
2016
from hutil.Qt import QtGui
@@ -43,7 +39,7 @@ def closeEvent(self, event):
4339

4440

4541
def initUI(self):
46-
42+
self.setProperty("houdiniStyle", True)
4743
self.setWindowTitle(self._windowTitle)
4844

4945
# Create Camera List Layout > self.createCamListLayout
@@ -131,10 +127,7 @@ def selectCam(self):
131127
tab.viewports()[-1].setCamera(hou.node(currentItem[0].data()))
132128
except:
133129
pass
134-
135-
136-
def closeEvent(self, event):
137-
self.setParent(None)
130+
138131

139132

140133
class camListModel(QtCore.QAbstractListModel):

0 commit comments

Comments
 (0)