Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

# Ignore any other files further up in the file system
root = true

# Configuration for all files
[*]
indent_style = space
indent_size = 4
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
11 changes: 11 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[flake8]
ignore =
E203,
W503,
F821,
F722

exclude =
bin/

max-line-length = 88
226 changes: 226 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,226 @@
### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Python ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[co]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
pytestdebug.log

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/
doc/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
Pipfile.lock

# poetry
#poetry.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
# .env
.env/
.venv/
env/
venv/
ENV/
env.bak/
venv.bak/
pythonenv*

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# operating system-related files
# file properties cache/storage on macOS
*.DS_Store
# thumbnail cache on Windows
Thumbs.db

# profiling data
.prof


### Windows ###
# Windows thumbnail cache files
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

### VisualStudioCode ###
.vscode/*
*.code-workspace

### User preferences ###
# Blender files
*.blend
*.blend1
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Changelog

## [1.4.0](https://github.com/Yeetus3141/ImagePaste/compare/v1.3.2...v1.4.0) (2021-06-10)
- Now Supports X11 Clipboard on Linux platform, all thanks to [@thanhph111](https://github.com/thanhph111)

## [1.3.2](https://github.com/Yeetus3141/ImagePaste/compare/v1.3.1...v1.3.2) (2021-04-16)
- Updated image naming scheme, now with timestamps, preventing overwriting of saved images.
- Merged separate build versions of ImagePaste for Blender version below 2.93a and above into one.

## [1.3.1](https://github.com/Yeetus3141/ImagePaste/compare/v1.3.0...v1.3.1) (2021-03-14)
- Fixed issue with the copy to clipboard feature where it didn't work as intended for certain cases.

## [1.3.0](https://github.com/Yeetus3141/ImagePaste/compare/v1.1.0...v1.3.0) (2021-03-12)
- Image(s) can be pasted directly into the Node Editor as Image Texture Node(s), using `Node Editor > Context Menu (Right Click) > Paste Images From Clipboard` or `Ctrl + Shift + V`
- Images can now be copied to clipboard. In the `Image Editor > Image > Copy To Clipboard`, or `Ctrl + Shift + C`. These images are also saved along with other images in the set directory.

## 1.2.0 (2021-02-06)
- Paste image from clipboard directly as a plane onto the viewport `Ctrl + Shift + Alt + V`.
- Supports image(s) copied from file explorer in Windows.
- Multiple images can now be pasted at the same time if multiple images are copied from the file explorer (only for Windows).
- Fixed an issue where images where saved with the same name in the default directory even with different blender sessions and led to different images being loaded from what was pasted
- Added icons for the buttons

## [1.1.0](https://github.com/Yeetus3141/ImagePaste/compare/v1.0.0...v1.1.0) (2021-01-06)
- Improved error management.
- The images are now saved in the same folder as the .blend file, in a newly created subfolder. If the blend file is not saved, it uses the directory set in preferences or the default temp directory, which might raise permission error. This feature can be toggled via addon preferences.
- Improved the UI in preferences.

## [1.0.0](https://github.com/Yeetus3141/ImagePaste/releases/tag/v1.0.0) (2021-01-04)
- Initial release.
Binary file removed PIL/__pycache__/BdfFontFile.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/BlpImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/BmpImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file removed PIL/__pycache__/ContainerIO.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/CurImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/DcxImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/DdsImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/EpsImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ExifTags.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/FitsStubImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/FliImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/FontFile.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/FpxImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/FtexImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/GbrImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/GdImageFile.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/GifImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/GimpGradientFile.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/GimpPaletteFile.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file removed PIL/__pycache__/Hdf5StubImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/IcnsImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/IcoImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/Image.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImageChops.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImageCms.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImageColor.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImageDraw.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImageDraw2.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImageEnhance.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImageFile.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImageFilter.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImageFont.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImageGrab.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImageMath.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImageMode.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImageMorph.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImageOps.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImagePalette.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImagePath.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImageQt.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImageSequence.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImageShow.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImageStat.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImageTk.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImageTransform.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImageWin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/ImtImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/IptcImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/Jpeg2KImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/JpegImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/JpegPresets.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/McIdasImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/MicImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/MpegImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/MpoImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/MspImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/PSDraw.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/PaletteFile.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/PalmImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/PcdImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/PcfFontFile.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/PcxImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/PdfImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/PdfParser.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/PixarImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/PngImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/PpmImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/PsdImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/PyAccess.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/SgiImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/SpiderImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/SunImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/TarIO.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/TgaImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/TiffImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/TiffTags.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/WalImageFile.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/WebPImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/WmfImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file removed PIL/__pycache__/XbmImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/XpmImagePlugin.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/__main__.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/_binary.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/_tkinter_finder.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/_util.cpython-37.pyc
Binary file not shown.
Binary file removed PIL/__pycache__/_version.cpython-37.pyc
Binary file not shown.
1 change: 0 additions & 1 deletion PIL/__pycache__/aaaaaaaaaaaaa

This file was deleted.

Binary file removed PIL/__pycache__/features.cpython-37.pyc
Binary file not shown.
1 change: 0 additions & 1 deletion PIL/a

This file was deleted.

17 changes: 17 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]

[dev-packages]
black = "*"
flake8 = "*"
"fake-bpy-module-2.83" = "*"

[requires]
python_version = "3.8"

[pipenv]
allow_prereleases = true
Loading