svenfraeys / SublimeBlender

Develop with Sublime Text 3 as an external script editor in Blender
47 stars 14 forks source link

Alt + P not working within Sublime on MacOSX El Capiton #9

Open mheesakkers opened 8 years ago

mheesakkers commented 8 years ago

Hi there,

Installing of the SublimeBlender package and the addon don't seem to work. The Alt + P shortcut doesn't work I guess?

angiloth commented 8 years ago

Same issue noted on windows. autocomplete works, but I cannot get execute command to function. verified with sublime.log_commands(True)

cfreude commented 7 years ago

Maybe this was the same annoying bug I had. It was due to wrong JSON keymap definitions.

Example - "Default.sublime-keymap":

[ { "keys": ["alt+p"], "command": "sublime_blender_execute", "keys": ["alt+shift+p"], "command": "sublime_blender_restart_module" } ]

Here it's only one object where the "keys" and "command" properties are specified twice and hence overwritten. Therefore, only the second command works.

Fixed:

[ { "keys": ["alt+p"], "command": "sublime_blender_execute" } , { "keys": ["alt+shift+p"], "command": "sublime_blender_restart_module" } ]