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-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-13add back library linking warning when renaming library datablocks in the ↵Campbell Barton
outliner, also typo corrections.
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-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-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-08edit on own commit r57801, don't check the size of dynamic arraysCampbell Barton
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
2013-06-24use booleans for bpath api.Campbell Barton
2013-06-13fix for pythons __dir__ returning registrable functions on class instances ↵Campbell Barton
(which may not have the functions defined). gave odd behavior of including members in __dir__ that couldn't getattr()
2013-06-12minor changes to the script auto-execution based on Brecht's suggestions.Campbell Barton
2013-06-10fix [#35691] Context Override replaces instead of overridesCampbell Barton
2013-06-10Python script auto-execution changes:Campbell Barton
- script execution is off by default - if a blend file attempts to execute a script this shows a message in the header with the action that was suppressed (script/driver/game-autostart) and 2 buttons to either reload the file trusted, or to ignore the message. - the file selector will always default to use the trust setting in the user preferences, but reloading an open file will keep using the current setting (whatever was set before or set on the command-line). - added SCons setting WITH_BF_PYTHON_SECURITY, this sets the default state for the user prefereces not to trust blend files on load. ... this option was in CMake before, but always off, now its enabled by default for SCons and CMake, and forced on in CMake for now.
2013-06-10code cleanup: group python reset functions in BPY_python_reset()Campbell Barton
2013-05-21code cleanup: remove callbacks only added to wrap MEM_freeNCampbell Barton
2013-05-20no need to add own define for openmp. Campbell Barton
2013-05-20Cmake / Fluids:Thomas Dinges
* Possible fix for Fluid threads UI not being shown with cmake builds.
2013-05-15Fix another cases where painting long brush strokes with small radius was slowedBrecht Van Lommel
down, this time by the operator properties getting converted to a string for display in the info window. With 1000+ stroke points this can get slow, and takes up too much space anyway, so now it's (somewhat arbitrarily) limited to printing only 10 points.
2013-05-14Moved main part of bpy.app.translations doc out of C code, as suggested by ↵Bastien Montagne
Campell, thx.
2013-05-14API doc for bpy.app.translations should look better now.Bastien Montagne
2013-05-11Fix #35289: UV layout export to image was extremely slow for large meshes. ThisBrecht Van Lommel
was due to slow implementation of slice operation for things like mesh uv data. Made that faster now for cases where the internal storage is an array.
2013-05-08rename BLI_ghashIterator_notDone() -> BLI_ghashIterator_done()Campbell Barton
was renamed fairly recently but other similar iterators not negated like this, would prefer to keep it as it was
2013-04-28Fluid UI:Thomas Dinges
* Display Simulation threads only, when built with OpenMP.
2013-04-23minor changes to get numpy working with locally bundled python.Campbell Barton
- enable site-packages for bundled python distrobution, py3.2 had a problem where it would try to parse headers we didnt include, but its resolved now. - workaround for glitch I was having on arch-linux where lib64 would be be used for the bundled python directory when it was just a symlink.
2013-04-22Bugfix [#34836] Crash when driver variable has path == 'data'Joshua Leung
Most of the places which relied on RNA_path_resolve() did so believing that if it returned true, that it had found a valid property, and that the returned pointer+property combination would be what the path referred to. However, it turns out that if the property at the end of the path turns out to be a "pointer" property (e.g. "data" for Object.data), this would automatically become the pointer part, while the prop part would be set to null. Hence, if a user accidentally (or otherwise) specifies a path for the single-property driver variable type like this, then Blender would crash. This commit introduces two convenience functions - RNA_path_resolve_property() and RNA_path_resolve_property_full() - which mirror/wrap the existing RNA_path_resolve() functions. The only difference though is that these include a check to ensure that what was found from resolving the path was in fact a property (they only return true iff this is the case), and make it explicitly clear in the name that this is what they will do so that there's no further confusion. It is possible to do without these wrapper functions by doing these checks inline, but the few cases that had been patched already were pretty hideous looking specimens. Using these just make it clearer and simpler for all. I've also beefed up the docs on these a bit, and changed these to using bools.
2013-04-11Related to #34558: clarify the description for the "default" parameter in ↵Brecht Van Lommel
bpy.props.EnumProperty.
2013-04-08Fix #34875: 0 digits of precision was not supported for FloatProperty, nowBrecht Van Lommel
you can specify precision=0 for this, and use -1 for the default 2.
2013-04-07Fix for [#34898] Typo in error message of mathutils.VectorThomas Dinges
* Also fixed some more cases of "more then" -> "more than".
2013-04-06svn merge ^/trunk/blender -r55815:55840Sergey Sharybin
2013-04-05code cleanup: include orderCampbell Barton
2013-04-05svn merge ^/trunk/blender -r55776:55813Campbell Barton
2013-04-05py api additions needed for fixing [#34864].Campbell Barton
- add rna property 'as_bytes' method so you can get a string property as python bytes (bypass encoding). - make bpy.path.abspath/relpath compatible with bytes. - add 'relpath' option to bpy_extras.image_utils.load_image(), so you can load an image relative to a path.
2013-04-04svn merge ^/trunk/blender -r55700:55776Campbell Barton
2013-04-03Fix #34856: crash passing an object rather than a mesh to ↵Brecht Van Lommel
bpy.data.mesh.remove(), this should give an error message but it didn't.
2013-03-26Merging r55547 through r55594 from trunk into soc-2008-mxcurioniSergey Sharybin
2013-03-25Fix to EnumProperty doc (content of items tuples was rather fuzzy, ways how ↵Bastien Montagne
these "parameters" are interpreted are rather strange, current text should now reflect exactly code's behavior).
2013-03-25code cleanup:Campbell Barton
- remove unused defines. - quiet some shadow warnings. - bevel, ifdef out some asserts that are too common. - style
2013-03-24Merged changes in the trunk up to revision 55546.Tamito Kajiyama
Conflicts resolved: source/blenderplayer/bad_level_call_stubs/SConscript Partly reverted changes to intern/cycles/blender/addon/ui.py in revision 52899 to make it easier to merge trunk changes.