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
2017-09-10merged the master branchsoc-2017-vertex_paintDarshan Kadu
2017-06-01applied patch D2150.id8618.diff and fixed versioning_270.cDarshan Kadu
2017-05-25Fix T50112: Sequencer crash w/ missing proxy dataCampbell Barton
2017-05-24Proper fix for crash loading old files with compositorSergey Sharybin
Now we keep all links around, even for sockets which were implicitly renamed. And also ensuring new sockets have proper storage.
2017-05-24Revert "Fix crash opening really old files with compositor"Sergey Sharybin
This commit broke compatibility with newer files: due to rename of Speed to Vector the links got lost. This reverts commit 0e46da76b70a42bab2268942cba0e0d3e4ba47e8.
2017-05-22Fix T51520: Broken vertex weights after two mesh joining.Bastien Montagne
Root of the issue here was that two stupid modifiers could create named vgroup CD layers (vgroup editing ones... shame on me :") ). Fix that, and added some versionning code to also fix 'corrupted' blend files created by those so far.
2017-05-20CMake: Use GCC7's -Wimplicit-fallthrough=5Campbell Barton
Use to avoid accidental missing break statements, use ATTR_FALLTHROUGH to suppress.
2017-05-19Fix crash opening really old files with compositorSergey Sharybin
There was lack of certain sockets do-versaions: namely the ones which were added in blender versions after the one used to save the file.
2017-05-19Cleanup: add braces for multi-line blocksCampbell Barton
2017-05-16Fix T50673: OpenEXR multilayer image truncated on saveSergey Sharybin
The issue is in OpenEXR itself. See the report fomr some more details.
2017-05-15Cleanup: warnings, styleCampbell Barton
2017-05-03"Fix" root cause of T51260 Forward compatibility crash fter adding new ↵Bastien Montagne
IDProp type. We unfortunately cannot fix this for previous versions of Blender, but at least the issue (Blender crashing on unknown IDProp types) should now be addressed for future. Simply reset unknown IDProp types to integer one, and reset its value to zero.
2017-05-03Render API/Cycles: Identify Render Passes by their name instead of a type flagLukas Stockner
Previously, every RenderPass would have a bitfield that specified its type. That limits the number of passes to 32, which was reached a while ago. However, most of the code already supported arbitrary RenderPasses since they were also used to store Multilayer EXR images. Therefore, this commit completely removes the passflag from RenderPass and changes all code to use the unique pass name for identification. Since Blender Internal relies on hardcoded passes and to preserve compatibility, 32 pass names are reserved for the old hardcoded passes. To support these arbitrary passes, the Render Result compositor node now adds dynamic sockets. For compatibility, the old hardcoded sockets are always stored and just hidden when the corresponding pass isn't available. To use these changes, the Render Engine API now includes a function that allows render engines to add arbitrary passes to the render result. To be able to add options for these passes, addons can now add their own properties to SceneRenderLayers. To keep the compositor input node updated, render engine plugins have to implement a callback that registers all the passes that will be generated. From a user perspective, nothing should change with this commit. Differential Revision: https://developer.blender.org/D2443 Differential Revision: https://developer.blender.org/D2444
2017-04-24Cleanup: styleCampbell Barton
2017-04-13Datablock ID PropertiesAlexander Romanov
The absence of datablock properties "will certainly be resolved soon as the need for them is becoming obvious" said the [[http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.67/Python_Nodes|Python Nodes release notes]]. So this patch allows Python scripts to create ID Properties which reference datablocks. This functionality is implemented for `PointerProperty` and now such properties can be created with Python. In addition to the standard update callback, `PointerProperty` can have a `poll` callback (standard RNA) which is useful for search menus. For details see the test included in this patch. Original author: @artfunkel Alexander (Blend4Web Team) Reviewers: brecht, artfunkel, mont29, campbellbarton Reviewed By: mont29, campbellbarton Subscribers: jta, sergey, campbellbarton, wisaac, poseidon4o, mont29, homyachetser, Evgeny_Rodygin, AlexKowel, yurikovelenov, fjuhec, sharlybg, cardboard, duarteframos, blueprintrandom, a.romanov, BYOB, disnel, aditiapratama, bliblubli, dfelinto, lukastoenne Maniphest Tasks: T37754 Differential Revision: https://developer.blender.org/D113
2017-03-28Forgot those IDP_LibLinkProperty call on node sockets IDProps in previous ↵Bastien Montagne
commit...
2017-03-28Fix lib_link_cachefile.Bastien Montagne
That one was: * Resetting non-ID pointers (lib_link_xxx funcs should only affect ID pointers, everything else shall be done in direct_link_xxx func). * Even worse, always calling lib_link_animdata, even when LIB_TAG_NEED_LINK tag was unset...
2017-03-28Bring back `lib_link_mesh()` in 'order' with other libdata liblink functions.Bastien Montagne
We do not need any special handling anymore for usercount of images used by faces/polygons (tpage stuff), since we have the 'real_user' handling, which will gracefully cope with all possible situations. So better not keep that ugly confusing useless special case.
2017-03-28readfile.c: Cleanup lib_link code a bit.Bastien Montagne
Mainly: * Add missing `IDP_LibLinkProperty()` calls for many ID types (harmless currently, but better be consistent here!). * Bring lib_link_xxx functions more in line with each other. * Replace some long if/else by switch.
2017-03-27CMake: WITH_PYTHON_SECURITY=OFF was ignoredCampbell Barton
Allow auto-execution to be enabled, also move this to user-prefs versioning code.
2017-03-25Automatic DPI for all platforms, per monitor DPI for Windows.Wouter
For Windows 8.1 and X11 (Linux, BSD) now use the DPI specified by the operating system, which previously only worked on macOS. For Windows this is handled per monitor, for X11 this is based on Xft.dpi or xrandr --dpi. This should result in appropriate font and button sizes by default in most cases. The UI has been simplified to a single UI Scale factor relative to the automatic DPI, instead of two DPI and Virtual Pixel Size settings. There is forward and backwards compatibility for existing user preferences. Reviewed By: brecht, LazyDodo Differential Revision: https://developer.blender.org/D2539
2017-03-17Refactor writefile handling of data-blocks.Bastien Montagne
Instead of calling a function looping over whole list of a given ID type, make whole loop over Main in parent function, and call functions writing a single datablock at a time. This design is more in line with all other places in Blender where we handle whole content of Main (including readfile.c), and much more easy to extend and add e.g. some generic processing of IDs before/after writing, etc. From user point, there should be no change at all, only difference is that data-block types won't be saved in same order as before (.blend file specs enforces no order here, so this is not an issue, but it could bug some third party users using other, simplified .blend file reader maybe). Reviewers: sergey, campbellbarton Differential Revision: https://developer.blender.org/D2510
2017-03-16Add BKE_blendfile_userdef_read_from_memoryCampbell Barton
Needed to read user-preferences from in-memory startup.blend Also skip data-blocks when reading preferences.
2017-03-16Fix BGE building.Bastien Montagne
When you use typedef'ed enum, you need to define all supported values explicitely in enum, else compiler goes grumpy...
2017-03-15Load user-preferences before startup fileCampbell Barton
Internal change needed for template support. Loading the user preferences first so it's possible for preferences to control startup behavior. In general it's useful to load preferences before data-files, so we know security settings for eg.
2017-03-06Surface Deform Modifier: Respect object transforms at bind timeLuca Rood
This slightly changes SDef behavior, by now respecting object transforms at bind time, thus not requiring the objects to be aligned in their respective local spaces, but instead using world space.
2017-02-27Surface Deform Modifier (SDef)Luca Rood
Implementation of the SDef modifier, which allows meshes to be bound by surface, thus allowing things such as cloth simulation proxies. User documentation: https://wiki.blender.org/index.php/User:Lucarood/SurfaceDeform Reviewers: mont29, sergey Subscribers: Severin, dfelinto, plasmasolutions, kjym3 Differential Revision: https://developer.blender.org/D2462
2017-02-23Fix T50736: Zero streaks in Glare node.Bastien Montagne
Please never, ever use same DNA var for two different things. Even worse if they do not have same type and ranges! This is only ensuring issues (as described in report, but also if animating both RNA props using same DNA var... yuck). And we were not even saving any byte in DNA, could reuse some padding there to store the two new needed vars (yes, two, since we cannot re-use existing one if we want to keep backward *and* forward compatibility).
2017-02-15Comments: notes on polyfill2d, minor correctionsCampbell Barton
2017-02-11Use dummy versionning numbers for missing libraries.Bastien Montagne
We now assert that we now file version of libraries (needed for do_version after linking step), so for missing libraries, set dummy numbers (using version of main .blend file actually).
2017-02-06Fix (unreported) Object previews being written even for skipped objects.Bastien Montagne
2017-02-06Cleanup writefile code a bit.Bastien Montagne
Modernize some of it a bit, saves quite some lines of blabla (using shile instead of for loops... tsssts...).
2017-01-31Cleanup: use 'cb_flag', not 'cd_flag' for library_query callbacks.Bastien Montagne
`cd_flag` tends to be used for CustomData flags in mesh area, while for library_query those are rather callback flags...
2017-01-31Cleanup: Rename callback flags from library_query to `IDWALK_CB_...`Bastien Montagne
Better to have clear way to tell whether flag is parameter for BKE_library_foreach_ID_link(), parameter for its callback function, or return value from this callback function.
2017-01-27Fixup for rBac58a7fa (HSV doversion)Dalai Felinto
We are not bumping file version, but we cannot have the doversion code running twice. In this particular case it was crashing files, since we were setting node->storage to NULL, and later on accessing it.
2017-01-26Compositor: Make HSV node inputs a real socketsSergey Sharybin
This is much more flexible solution which will allow doing some more procedural features. Reviewers: brecht, dfelinto, mont29 Reviewed By: mont29 Subscribers: Severin Differential Revision: https://developer.blender.org/D2403
2017-01-26Fix T50287: Blender crashes when open a blend that contains an alembicKévin Dietrich
file. Missed in rB62a2ed97b.
2017-01-20D1873: Customize style for animation motion pathsAntonio Vazquez
New options to define the style of the animation paths in order to get better visibility in complex scenes. Now is possible define the color, thickness and several options relative to the style of the lines used to draw motion path.
2017-01-18GP Interpolate Sequence: Tool settings for controlling the shape of ↵Joshua Leung
interpolation This commit introduces the ability to use the Robert Penner easing equations or a Custom Curve to control the way that the "Interpolate Sequence" operator interpolates between keyframes. Previously, it was only possible to get linear interpolation between the gp frames. Workflow: 1) Place current frame between a pair of GP keyframes 2) Open the "Interpolate" panel in the Toolshelf 3) Choose the interpolation type (under "Sequence Options") 4) Adjust settings (e.g. if you're using "Custom Curve", use the curvemap widget to define the way that the interpolation proceeds) 5) Click "Sequence" to interpolate 6) Play back/scrub the animation to see if you've got the result you want 7) If you need to make some tweaks, undo, or delete the generated keyframes, then repeat the process again from step 4 until you've got the desired result.
2017-01-16Cleanup/refactor: Add new BLI_string_util.Bastien Montagne
Things like `BLI_uniquename` had nothing, but really nothing to do in BLI_path_util files! Also, got rid of length limitation in `BLI_uniquename_cb`, we can use alloca here to avoid overhead of malloc while keeping free size (within reasonable limits of course).
2016-12-29Fix T50334: Also select indirectly imported objects when linking/appending.Bastien Montagne
Since we create a base and instantiate them, they become directly linked, so makes sense to also select them if requested.
2016-12-27Correct bad cast, unused var warningCampbell Barton
2016-12-23Readfile: Resurrect do_versions_after_liblink.Bastien Montagne
Basic idea is to store fileversion in Library datablock, and split again Main by libraries after lib linking, do_versions_after_liblink on those separated Mains, and merge again. This allows to still have correct versions for each data-block in that second do_versions step. Note that this is not used currently in master (might be soon, though), but is needed for 2.8 work.
2016-12-19Fix (unreported) linked datablocks going through do_versions several times.Bastien Montagne
When linking data-blocks from same library in several steps, the already linked data-blocks of same lib would go again through versionning code... Note: only fixed for libraries, I can't imagine how this could happen with local data...
2016-12-08Fix crash when opening a Blender file containing Alembic data.Kévin Dietrich
Was also affecting object linking.
2016-12-02Fix T50062: Mask - Clicking in ActivePoint Parent makes Blender crash.Bastien Montagne
Mask primitive adding code was not initializing correctly id_type of points' parents.
2016-11-30Cleanup id->newid usage, initial work.Bastien Montagne
This aims at always ensuring that ID.newid (and relevant LIB_TAG_NEW) stay in clean (i.e. cleared) state by default. To achieve this, instead of clearing after all id copy call (would be horribly noisy, and bad for performances), we try to completely remove the setting of id->newid by default when copying a new ID. This implies that areas actually needing that info (mainly, object editing area (make single user...) and make local area) have to ensure they set it themselves as needed. This is far from simple change, many complex code paths to consider, so will need some serious testing. :/
2016-11-19Fix forward-compat Nodes write code being executed also for undo steps writing.Bastien Montagne
Forward compatibility code should never, ever be run during undo saving. Note: related to T49991 (but does not fix it either, crash now happens when doing a real file save...).
2016-11-18Fix (unreported) bad handling of brush's fill threshold value.Bastien Montagne
'1' threshold value would only allow to access a third of the basic 'color space' (from black to white, from 0.0 to 1.0 component values), when you expect it to access the whole range. Unfortunately, this needs a subversion bump to allow already defined brushes to keep exact same behavior! Also, did not change default value (0.2) for new brushes, think here keeping current one makes more sense. Thanks to @LucaRood for confirming the issue.
2016-11-12Sculpt UI: Make DynTopo constant detail a resolution valueJulian Eisel
This should make it easier to sculpt in high resolutions, downside is that the new way to calculate maximum edge length is a bit less intuitive. Maximum edge length used to be calculated as blender_unit * percentage_value, now it's blender_unit / value. Reused old DNA struct member, but had to bump subversion to ensure correct compatibility conversion. Also changed default value slightly (would have had to set to 3.333... otherwise). Was Requested by @monio (see https://rightclickselect.com/p/sculpting/zpbbbc/dyntopo-better-scale-input-in-constant-detail-mode) and I think it's worth testing.