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-12-17Partial fix for T37604: Deadlock when stopping rendered viewport (Blender ↵IRIE Shinsuke
Internal) - Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_THREADS macros cannot be used here, because the Py_BEGIN_ALLOW_THREADS causes a crash when quitting Blender. - The low level function PyEval_ReleaseLock() is used assuming the Python library was built with multi-threads support.
2013-12-12RNA: Add pixels property typeScott Petrovic
2013-12-11Fix intersect_line_plane bug causing crash on Motion trail and otherBenoit Bolsee
similar potential bugs in mathutils_geometry marking no_flip as TODO
2013-12-10Python API: when OIIO is disabled use the same version format.Campbell Barton
2013-12-09Python API: when OCIO is disabled use the same version format.Campbell Barton
2013-12-09Fix T37715: Incorrect docstringCampbell Barton
2013-12-08Correction to previous commit, sorrySergey Sharybin
2013-12-08Extend system-info with information about OIIO, OCIO and OSLSergey Sharybin
Summary: Version of those libraries might be useful to know. - OIIO and OCIO is exposed via bpy.app.oiio and bpy.app.ocio. There're "supported", "version" and "version_string" defined in those modules. - OSL is available as _cycles.osl_version and _cycles.osl_version_string. Reviewers: campbellbarton Reviewed By: campbellbarton CC: dingto Differential Revision: http://developer.blender.org/D79
2013-12-06BMesh Py API: add bmesh.geometry.intersect_face_point()Campbell Barton
patch originally by mont29 with some edits.
2013-12-02Blender Font (BLF): add length argument to string width/height functionsCampbell Barton
This also fixes a crash editing buttons longer then UI_MAX_DRAW_STR
2013-11-29Python API: give a better error message when creating a Matrix failsCampbell Barton
2013-11-26User Interface: don't show macro args in tooltipsCampbell Barton
was often making much too big strings to show in a tip.
2013-11-19Fix T37472: crash when packing UV islands.Campbell Barton
2013-11-17python api internals: no need to set the stop-iter exception string.Campbell Barton
2013-11-15Further tweaks to buildinfoSergey Sharybin
Summary: Old idea with changes since previous release tag didn't work good enough. In most of the cases tag was done in a branch hence not actually reachable from the master branch. Now change since release is gone, and date of the latest commit is used instead. The date is displayed in format YYYY-MM-DD HH:mm in the splash. New bpy.app fields: - build_commit_timestamp is an unix timestamp of the commit blender was build from. - build_commit_date is a date of that commit. - build_commit_time is a time of that commit. Reviewers: campbellbarton Differential Revision: http://developer.blender.org/D5
2013-11-08fix for crash when deleting from an id property, with a non-string key.Campbell Barton
2013-11-07Fix [#34675] *AFTER 2.69* Info view shows duplicate operators with incorrect ↵Bastien Montagne
values of args Refactored a bit WM api to generate operator's pystring, now it can also handle correctly macro operators. Thanks to Campbell for the review!
2013-11-05code cleanup: typosCampbell Barton
2013-11-04Made buildinfo aware of builds from GITSergey Sharybin
- Use commit number since last annotated tag as a revision number replacement. It'll eb followed by 'M' symbol if there're local modification in the source tree. - Commit short SHA1 is included. Helps getting information about commit used to build blender with much faster. - If build is not done from master branch, this also will be noticed in the splash screen. This commit also replaces revision stored in the files with git-specific fields (change and hash). This is kind of breaks compatibility, meaning files which were saved before this change wouldn't display any information about which revision they were saved with. When we'll finally switch to git, we'll see proper hash and change number since previous release in the files, for until then svn version will be used as a change number and hash will be empty. Not a huge deal, since this field was only used by developers to help torubleshooting things and isn't needed for blender itself. Some additional tweaks are probably needed :)
2013-10-31code cleanup: spellingCampbell Barton
2013-10-31code cleanup: warningsCampbell Barton
2013-10-28move bmesh array lookup data and utility functions from editmesh into bmesh,Campbell Barton
since enough bmesh operations can also take advantage of direct index lookups on verts/edges/faces. developers note: - EDBM_index_arrays_init/ensure/free -> BM_mesh_elem_table_ensure/init/free - EDBM_vert/edge/face_at_index -> BM_vert/edge/face_at_index - EDBM_uv_element_map_create/free -> BM_uv_element_map_create/free - ED_uv_element_get -> BM_uv_element_get
2013-10-27Expose MVertSkin customdata layer in Python. This allows scripts to change ↵Andrew Hale
parameters which are used by the skin modifier (such as radius)
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.