Page MenuHome

Kilon Alios (kilon)
User

Projects

User Details

User Since
May 24 2011, 2:55 PM (421 w, 6 d)

Recent Activity

Jun 26 2018

Kilon Alios (kilon) added a comment to D3480: [Blender Python Image API] Image Buffer duplicate.

Changed as instructed but still not sure for the implementation of deepcopy, it works well in python. I dont parse arguments to make it possible for both _ _ deepcopy _ _ (it takes 1 python argument) and deepcopy (it takes no python argument) to be implemented by the same c function. I have no idea how else to do it. Your vector example code implemented only _ _ deepcopy _ _ and not deepcopy. I thought it would be better to support both methods for compliance with the python standards.

Jun 26 2018, 10:01 AM · BF Blender
Kilon Alios (kilon) awarded rBa69f985f4090: PyAPI: move deep-copy args check to py_capi_utils a Like token.
Jun 26 2018, 9:59 AM

Jun 18 2018

Kilon Alios (kilon) updated the diff for D3480: [Blender Python Image API] Image Buffer duplicate.

Changed as instructed but still not sure for the implementation of deepcopy, it works well in python. I dont parse arguments to make it possible for both _ _ deepcopy _ _ (it takes 1 python argument) and deepcopy (it takes no python argument) to be implemented by the same c function. I have no idea how else to do it. Your vector example code implemented only _ _ deepcopy _ _ and not deepcopy. I thought it would be better to support both methods for compliance with the python standards.

Jun 18 2018, 11:31 PM · BF Blender

Jun 16 2018

Kilon Alios (kilon) awarded T55039: 2.8 UI Tools: Tool Tweaking UI a Party Time token.
Jun 16 2018, 9:59 AM · Code Quest
Kilon Alios (kilon) updated the diff for D3480: [Blender Python Image API] Image Buffer duplicate.

ok this diff should work for you. I had to revert the files back and forth but its finally as it supposed to be, I hope . It seems after midnight I go to stupid mode. Thank you for your patience and understanding 😆

Jun 16 2018, 9:36 AM · BF Blender
Kilon Alios (kilon) reclaimed D3480: [Blender Python Image API] Image Buffer duplicate.

I think I found a way to solve this, the easy way, now I have a clearer mind after a good sleep

Jun 16 2018, 9:34 AM · BF Blender
Kilon Alios (kilon) abandoned D3480: [Blender Python Image API] Image Buffer duplicate.

Cant make git or anything make me the damn diff, effort abandoned after 3 hours of suffering. Well at least I learned a lot about git and tortoise git 😆. Code works fine, but I don't want to waste any more time on such a silly thing like a patch, I have bigger fish to fry. If anyone wants to pick up the code as is, awesome , if not, awesome too.

Jun 16 2018, 1:29 AM · BF Blender

Jun 15 2018

Kilon Alios (kilon) added a comment to D3480: [Blender Python Image API] Image Buffer duplicate.

looks like an incremental from the last diff now.. still not good.

Jun 15 2018, 11:00 PM · BF Blender
Kilon Alios (kilon) updated the diff for D3480: [Blender Python Image API] Image Buffer duplicate.

I am still trying to get the hang of TortoiseGit , is this one better ?

Jun 15 2018, 10:53 PM · BF Blender
Kilon Alios (kilon) updated the summary of D3480: [Blender Python Image API] Image Buffer duplicate.
Jun 15 2018, 10:40 PM · BF Blender
Kilon Alios (kilon) updated the summary of D3480: [Blender Python Image API] Image Buffer duplicate.
Jun 15 2018, 10:39 PM · BF Blender
Kilon Alios (kilon) updated the summary of D3480: [Blender Python Image API] Image Buffer duplicate.
Jun 15 2018, 10:38 PM · BF Blender
Kilon Alios (kilon) updated the diff for D3480: [Blender Python Image API] Image Buffer duplicate.

and a minor modification to the header file, needed

Jun 15 2018, 10:25 PM · BF Blender
Kilon Alios (kilon) updated the diff for D3480: [Blender Python Image API] Image Buffer duplicate.

I think I got it right

Jun 15 2018, 10:24 PM · BF Blender
Kilon Alios (kilon) added a comment to D3480: [Blender Python Image API] Image Buffer duplicate.

This should be implemented as a method to fit with Python's convention.
example with a Python list:

ls_a = [1, 2, 3]
ls_b = ls_a.copy()

The same method can be used for __copy__ and __deepcopy__ which Python uses https://docs.python.org/3/library/copy.html
See: https://developer.blender.org/diffusion/B/browse/master/source/blender/python/mathutils/mathutils_Vector.c$1325 for an example of this.

Jun 15 2018, 6:52 PM · BF Blender
Kilon Alios (kilon) retitled D3480: [Blender Python Image API] Image Buffer duplicate from Blender Python Image API to [Blender Python Image API] Image Buffer duplicate.
Jun 15 2018, 12:26 PM · BF Blender
Kilon Alios (kilon) updated the summary of D3480: [Blender Python Image API] Image Buffer duplicate.
Jun 15 2018, 11:53 AM · BF Blender
Kilon Alios (kilon) updated the summary of D3480: [Blender Python Image API] Image Buffer duplicate.
Jun 15 2018, 11:53 AM · BF Blender
Kilon Alios (kilon) added a revision to T54272: Python API for Blender's internal image functions: D3480: [Blender Python Image API] Image Buffer duplicate.
Jun 15 2018, 11:52 AM · BF Blender, Python
Kilon Alios (kilon) added a task to D3480: [Blender Python Image API] Image Buffer duplicate: T54272: Python API for Blender's internal image functions.
Jun 15 2018, 11:52 AM · BF Blender
Kilon Alios (kilon) created D3480: [Blender Python Image API] Image Buffer duplicate.
Jun 15 2018, 11:50 AM · BF Blender

Jun 7 2018

Kilon Alios (kilon) awarded T54272: Python API for Blender's internal image functions a Love token.
Jun 7 2018, 2:24 AM · BF Blender, Python
Kilon Alios (kilon) placed T54272: Python API for Blender's internal image functions up for grabs.
Jun 7 2018, 2:07 AM · BF Blender, Python

Jan 27 2014

Kilon Alios (kilon) added a comment to T38373: Blender fails to build in Ubuntu 13.04 64bit because it misses an entry in make OPENEXR_ROOT_DIR.

Also sorry for missing the fact that bug tracker is not the proper place to report building problems . To my defence I did ask at #blendecoders and I have several people trying to help there lukas_t, troubled and others. We have been struggling with this issue for 3 hours now. . But none the less next time I wont post here :)

Jan 27 2014, 4:05 PM · BF Blender
Kilon Alios (kilon) added a comment to T38373: Blender fails to build in Ubuntu 13.04 64bit because it misses an entry in make OPENEXR_ROOT_DIR.

Note that using the the instructions in install_deps.sh ->
make -j4 BUILD_CMAKE_ARGS=" -D OPENCOLORIO_ROOT_DIR=/opt/lib/ocio -D OPENEXR_ROOT_DIR=/opt/lib/openexr -D OPENIMAGEIO_ROOT_DIR=/opt/lib/oiio -D WITH_CYCLES_OSL=ON -D WITH_LLVM=ON -D LLVM_VERSION=3.3 -D CYCLES_OSL=/opt/lib/osl -D LLVM_DIRECTORY=/opt/lib/llvm -D LLVM_STATIC=ON -D WITH_CODEC_FFMPEG=ON -D FFMPEG_LIBRARIES='avformat;avcodec;avutil;avdevice;swscale;rt;theoradec;theoraenc;theora;vorbisenc;vorbisfile;vorbis;ogg;x264;openjpeg' -D FFMPEG=/opt/lib/ffmpeg"

Jan 27 2014, 2:39 PM · BF Blender
Kilon Alios (kilon) raised the priority of T38373: Blender fails to build in Ubuntu 13.04 64bit because it misses an entry in make OPENEXR_ROOT_DIR from to Needs Triage by Developer.
Jan 27 2014, 1:50 PM · BF Blender