Skip to content

Commit

Permalink
fixes for python 3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
cmcpasserby committed Apr 9, 2021
1 parent 804cb52 commit 934e954
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## [Unreleased]

## [3.2.4] - 2021-04-8
### Added
- support Python 3

## [3.2.3] - 2021-04-7
### Added
- PyCharm 2021 support
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pluginGroup = ca.rightsomegoodgames.mayacharm
pluginName_ = MayaCharm
pluginVersion = 3.2.3
pluginVersion = 3.2.4

pluginSinceVersion = 203.0
pluginUntilVersion = 211.*
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/resources/PythonStrings.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ enum class PythonStrings(val message: String) {
CLOSE_LOG("import maya.cmds as cmds;cmds.cmdFileOutput(closeAll=True)"),

// no clue why the maya.cmds part is needed, but it works and prevents things from getting executing twice
EXECFILE("python(\"execfile(\\\"{0}\\\")\")"),
EXECFILE("python(\"exec(compile(open(\\\"{0}\\\").read(), \\\"{0}\\\", \\\"exec\\\"))\")"),
PYSTDERR("# Error: "),
PYSTDWRN("# Warning: "),
SETTRACE("import pydevd; pydevd.settrace(host=\"{0}\", port={1,number,#}, suspend={2}, stdoutToServer={3}, stderrToServer={3})"),
Expand Down

0 comments on commit 934e954

Please sign in to comment.