Public release

0.9.1:

- Public release
- prefs: added fps as part of project settings
  - check file use pref fps value (previously used harcoded 24fps value)
- cleanup: Remove wip GMIC-bridge tools that need to be done separately (if needed)
- update: apply changes in integrated copy-paste from the last version of standalone addon
- doc: Added fully-detailed french readme
This commit is contained in:
Pullusb
2021-01-10 19:12:09 +01:00
parent 98c6739003
commit f642d943ff
9 changed files with 195 additions and 686 deletions
+6 -6
View File
@@ -11,20 +11,19 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
## basec on GPclipboard 1.3.1 (without addon prefs)
## based on GPclipboard 1.3.2 (just stripped addon prefs)
bl_info = {
"name": "GP clipboard",
"description": "Copy/Cut/Paste Grease Pencil strokes to/from OS clipboard across layers and blends",
"author": "Samuel Bernou",
"version": (1, 3, 1),
"version": (1, 3, 2),
"blender": (2, 83, 0),
"location": "View3D > Toolbar > Gpencil > GP clipboard",
"warning": "",
"doc_url": "https://github.com/Pullusb/GP_clipboard",
"category": "Object" }
import bpy
import os
import mathutils
@@ -96,9 +95,12 @@ def dump_gp_stroke_range(s, sid, l, obj):
if s.material_index != 0:
sdic['material_index'] = s.material_index
if s.draw_cyclic:
if getattr(s, 'draw_cyclic', None):# pre-2.92
sdic['draw_cyclic'] = s.draw_cyclic
if getattr(s, 'use_cyclic', None):# from 2.92
sdic['use_cyclic'] = s.use_cyclic
if s.uv_scale != 1.0:
sdic['uv_scale'] = s.uv_scale
@@ -677,10 +679,8 @@ def register_keymaps():
addon_keymaps.append((km, kmi))
def unregister_keymaps():
# wm = bpy.context.window_manager
for km, kmi in addon_keymaps:
km.keymap_items.remove(kmi)
# wm.keyconfigs.addon.keymaps.remove(km)
addon_keymaps.clear()