Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-22style cleanupCampbell Barton
2013-10-17add local _PyLong_AsInt() needed for python older then 3.3.2Campbell Barton
2013-10-17add typechecks when assigning id-property arrays from python (overflows and ↵Campbell Barton
errors weren't detected) reduce/simplify exceptions more.
2013-10-17simplify & improve error handling for id-property python-api.Campbell Barton
2013-10-17fix [#37105] Long int IDproperties produces errors at weird spots.Campbell Barton
2013-10-16add IDP_FreeFromGroup(), replaces IDP_RemFromGroup(), IDP_FreeProperty(), ↵Campbell Barton
MEM_freeN().
2013-10-13cmake/openimageio - partially reverting #60692Dalai Felinto
We now have openimageio building when cycles builds or when it's manually set to build. (I reverted the _IMAGE_ in the define name because I think the closer the cmake flags match the defines in the software the better, and there is no reason to rename all the existent WITH_OPENIMAGEIO references in CMakeLists.txt - which would be the alternative)
2013-10-12code cleanup: use const's for vector args.Campbell Barton
2013-10-12Fix build scripts related to PSD support. Both CMake and SCons builds were ↵Irie Shinsuke
broken.
2013-10-11adding WITH_IMAGE_OPENIMAGEIO and removing the PSD build optionDalai Felinto
As per Brecht van Lommel's suggestion.
2013-10-09Photoshop PSD supportDalai Felinto
We now support the combined layer of Photoshop files (stored as layer 0 in the file). This way users can keep their files as multilayer PSD and Blender always handle them as flat images. For perfect alpha this requires an OpenImageIO update: https://github.com/OpenImageIO/oiio/commit/342cc2633ff590a3bb278481c61ae798c7148361 Photoshop sample files: https://github.com/OpenImageIO/oiio-images Brecht has some pending fixes to push for OIIO as well, so we may as well wait to update our libraries. What works: =========== * 8bit images (with or without alpha) * 16bits images (alpha discarded) * Photoshop files saved with 'Maximum Compatibility' * Cycles, Blender internal, BGE (and player) Known limitations (due to OIIO dependency): ========================= * Images with less than 4 channels show a wrong thumbnail (bug may be in OIIO) * Packed images are not supported * We do not write PSD files. Note: old Blenders have support for PSD via Quicktime library. But due to license issues this was discontinued. Many thanks for Brecht van Lommel for reviewing the patch, suggesting multiple improvements and to help solving the alpha issue.
2013-10-03fix [#36924] Calling .define(...) on Macro subclass crashes Blender, if ↵Campbell Barton
subclass wasn't registered
2013-09-20correct include guards and add checks in check_style_c.py for them.Campbell Barton
2013-09-19replace macro PYC_INTERPRETER_ACTIVE for PyC_IsInterpreterActive() function ↵Campbell Barton
call, (indirectly referenced Python define of ~30 lines, most were optimized out but still caused some code bloat).
2013-09-18fixes for python api docs.Campbell Barton
also move foreach_get/set examples into their own py example files (prefer not to have example code built into blenders binary).
2013-09-18fix relating to bug [#36758],Campbell Barton
When printing operator reports, ommit unset properties. This is needed because in some cases operators check if a value is set or not, so filling in default arguments may change behavior.
2013-09-17Update foreach_get/_set doc.Bastien Montagne
2013-09-14minor changes needed for building standalone mathutils.Campbell Barton
2013-09-13add back library linking warning when renaming library datablocks in the ↵Campbell Barton
outliner, also typo corrections.
2013-09-11fix [#36020] SmartUV Project is messy on a cubeCampbell Barton
was using very simple/stupid check to rotate us islands, replace with box_fit_2d() function. missed docstring last commit.
2013-09-11add mathutils.geometry.box_fit_2d() to wrap BLI_convexhull_aabb_fit_points_2d()Campbell Barton
2013-09-11add angle_to_mat2 utility function.Campbell Barton
2013-09-10misc minor changesCampbell Barton
- make cmake osx use of -ftemplate-depth match scons. - use array size within sizeof(), more compact. - replace AT with __func__ where the function is unique enough. - BLI_box_pack_2D -> 2d to match other functions. - rename new mesh normal calculation to mesh.calc_normals_split()
2013-09-10add 2d convex hull utility function, BLI_convexhull_2d(), and python api ↵Campbell Barton
mathutils.geometry.convex_hull_2d() uses Andrew's monotone chain 2D convex hull algorithm.
2013-09-05fix for error in bmesh api, selection setting needs to go via ↵Campbell Barton
BM_elem_select_set else the total selected elements count isn't mantained.
2013-09-03Tweaks to New Driver creation behaviourJoshua Leung
* 'Show Debug' now enabled for all newly created drivers. For most users, it is useful to be able to see this to help figure out what's going on * Removed failed experiment of creating new drivers with Generator FModifiers. I had hoped that this would make it easier to create drivers that doubled or halved the input values, but that has proved to not be the case, and instead made harder for most users to set things up (as they'd have to remove these first). Now, when adding drivers from the UI, these get created with two keyframes (at (0,0) and (1,1) for a 1-1 mapping), which can be easily tweaked normally. However, for backwards compatability of scripts (notably rigify, and perhaps some others out there), when creating drivers from scripts, they will still get created with Generator FModifiers for now. We can review this situation again for 2.7, but for now it seems ok.
2013-09-02Add poll message when poll fails because of window missing from the context.Campbell Barton
This means calling invoke operators from python in states that dont support will give a meaningful error message. also reduce context lookups when polling.
2013-09-02bmesh: internal api change, remove BMOElemMapping, its not needed since the ↵Campbell Barton
values can be stored in the ghash directly. saves 24 bytes per element (per vertex/edge/face on a 64bit system), for bmesh operators.
2013-08-31tweak mempool loop comparisons when we know there is no chance for skipping ↵Campbell Barton
past the last value. also correct typo.
2013-08-31Simplify line/plane intersection, add line_plane_factor_v3().Campbell Barton
Remove no_flip option for isect_line_plane_v3(), its quite specific and only used for ED_view3d_win_to_3d().
2013-08-27fix [#36528] crash when reinitializing bmesh from meshCampbell Barton
2013-08-27This commit adds optional parameters for pyfunc implementations of RNA API ↵Bastien Montagne
(i.e. callbacks, e.g. draw functions of panels, uiLists, or exec/poll/etc. of operators). Thanks to Brecht for he review! Any parameter after the first flagged with PROP_PYFUNC_OPTIONAL will be considered as optional, hence the python code does not have to define/use it. This will ease API evolutions by avoiding to break existing code when adding non-essential new parameters. Note: this will need some update to API doc generation, patch is ready, will have it reviewed by Campbell asap.
2013-08-23patch to add backkbacks for game engine start/end,Campbell Barton
by sjoerd_de_vries
2013-08-23math api edits - replace point-normal form for a plane with dist_to_plane_v3()Campbell Barton
also correct python mathutils api, was missing vector checks.
2013-08-21bmesh api cleanup, face creation args now accept an example face (as with ↵Campbell Barton
vertex and edge), also replace BM_face_create_quad_tri_v with BM_face_create_verts
2013-08-21use BM_CREATE_NOP arg rather then zero, with pointer and bool args in either ↵Campbell Barton
side in some cases it gets a bit confusing. also correct edge-rotate where bool->flag conversion worked by accident.
2013-08-21fix own regression [#36443] Vertex to UV index doesn't match with 2.68aCampbell Barton
add BM_face_create_verts wrapper for BM_face_create which creates its own edge array.
2013-08-20add is_finite_v# functions, use bool'sCampbell Barton
2013-08-20fix incorrect docs [#36518] Vector.rotate() does not return value as documentedCampbell Barton
2013-08-13bmesh_vert_separate: remove unused return valueCampbell Barton
2013-08-07code cleanup: some structs were declaring data when only typedef's were ↵Campbell Barton
intended, make local vars and functions static.
2013-07-21code cleanup: compiler warningsCampbell Barton
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-19style cleanup: braces/indentationCampbell Barton
2013-07-11fix for problem with edge slide where it would stop shapekey modifier from ↵Campbell Barton
being applied (because of added vertices), now, instead of making hidden copies of faces, the faces are copied into a temp bmesh. also remove a hash that was being created and not used (old code).
2013-07-09minor improvementsCampbell Barton
- calc normals only check flag when needed. - keymap, dont get name unless its needed. - keymap, avoid property lookup. - idprop debug print, include pointer, helpful for troubleshooting.
2013-07-08edit on own commit r57801, don't check the size of dynamic arraysCampbell Barton
2013-07-02remove nan copyrights from code added since blender become opensource (copy ↵Campbell Barton
paste errors), also remove BKE_script.h
2013-06-27fix for python api bug: assigning the wrong size array to an RNA property ↵Campbell Barton
wasn't checking the length and could crash, eg: mesh.polygons[0].vertices = (10,)
2013-06-27remove redundant castsCampbell Barton