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
2016-11-24Base list refcount with Bastien MontagnelayersDalai Felinto
2016-11-24collections.objects.link()Dalai Felinto
2016-11-23RNA: layer.collections[2].objectsDalai Felinto
This does not include objects from nested collections. Missing bits: objects.link, objects.unlink
2016-11-23Fix mem leak for recursive collections and get layer.bases and objectsDalai Felinto
to work (also some base util functions, and a refactor to unify the functions for nested and non nested collections)
2016-11-23Cleanup: silence unused prop warningDalai Felinto
2016-11-23Finish nested collections rna (recursions ftw)Dalai Felinto
2016-11-22Layer collection nesting (DNA/RNA)Dalai Felinto
2016-11-22Layer collection initial RNADalai Felinto
new/remove/active
2016-11-22Fix compiling with Cycles enabledJulian Eisel
Brings back some code that was removed in 17beb573563c8a4 to avoid naming conflicts. Now did some renaming to avoid these.
2016-11-22Initial RNA for scene layersDalai Felinto
Next will be the collections, and then the other missing props of rna_def_scene_layer Note: it would be nice to have a way to tag rna properties asa deprecated. For example, scene.engine can still be valid (and mapped to scene.layers.active.engine), but it would be nice to indicate the addon writers of the new API.
2016-11-16Merge remote-tracking branch 'origin/master' into blender2.8Dalai Felinto
2016-11-15RNA Main API: set remove's do_unlink default value to true.Bastien Montagne
On second and third thoughts, this should have been done that way since the begining, cases were you just delete a few data-blocks without any serious knowledge of their usages are much, much more frequent than cases where you are deleting thousands of data-blocks and are sure they are not used anywhere anymore... Own fault, but really frustrated that this topic was only raised the day after 2.78a was released. :(
2016-11-15Implement grouped undo option for operatorsDalai Felinto
This option makes an operator to not push a task to the undo stack if the previous stored elemen is the same operator or part of the same undo group. The main usage is for animation, so you can change frames to inspect the poses, and revert the previous pose without having to roll back tons of "change frame" operator, or even see the undo stack full. This complements rB13ee9b8e Design with help by Sergey Sharybin. Reviewers: sergey, mont29 Reviewed By: mont29, sergey Subscribers: pyc0d3r, hjalti, Severin, lowercase, brecht, monio, aligorith, hadrien, jbakker Differential Revision: https://developer.blender.org/D2330
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.
2016-11-10Added bpy.types.ID.make_local() that can make a single ID block local.Sybren A. Stüvel
This new `bpy.types.ID.make_local(clear_proxies=True)` allows Python code to press the "Make Local" button on any ID block. I chose `clear_proxies=True` as the default, since it's the default behaviour of `id_make_local()` (defined in `library.c`). The caller does need to take care of ensuring that linked-in objects don't refer to local data, and that proxies aren't broken. Reviewers: sergey, mont29 Reviewed By: mont29 Subscribers: dfelinto Differential Revision: https://developer.blender.org/D2346
2016-11-09Fix UI message.Bastien Montagne
2016-11-07Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: intern/cycles/blender/addon/properties.py
2016-11-07Expose Bullet rotational spring settings in the UI.Alexander Gavrilov
Bullet spring constraint already supports rotational springs, but they are not exposed in blender UI, likely due to a simple oversight. Supporting them is as simple as adding a few DNA/RNA properties with appropriate UI and passing them on to Bullet. Reviewers: sergof Reviewed By: sergof Differential Revision: https://developer.blender.org/D2331
2016-11-07Cycles: Refactor Device selection to allow individual GPU compute device ↵Lukas Stockner
selection Previously, it was only possible to choose a single GPU or all of that type (CUDA or OpenCL). Now, a toggle button is displayed for every device. These settings are tied to the PCI Bus ID of the devices, so they're consistent across hardware addition and removal (but not when swapping/moving cards). From the code perspective, the more important change is that now, the compute device properties are stored in the Addon preferences of the Cycles addon, instead of directly in the User Preferences. This allows for a cleaner implementation, removing the Cycles C API functions that were called by the RNA code to specify the enum items. Note that this change is neither backwards- nor forwards-compatible, but since it's only a User Preference no existing files are broken. Reviewers: #cycles, brecht Reviewed By: #cycles, brecht Subscribers: brecht, juicyfruit, mib2berlin, Blendify Differential Revision: https://developer.blender.org/D2338
2016-11-02Merge remote-tracking branch 'origin/master' into blender2.8Dalai Felinto
2016-10-30Viewport smoke: add support to render the volume using a color ramp.Kévin Dietrich
This is yet another debug option that allows to render an arbitrary simulation field by using a color ramp to inspect its voxel values. Note that when using this, fire rendering is turned off. Reviewers: plasmasolutions, gottfried Differential Revision: https://developer.blender.org/D1733
2016-10-30Fix compile errors for when WITH_ALEMBIC is OFF.Kévin Dietrich
2016-10-29Alembic: store a pointer to the object reader in the cache modifiers andKévin Dietrich
constraints. This avoids traversing the archive everytime object data is needed and gives an overall consistent ~2x speedup here with files containing between 136 and 500 Alembic objects. Also this somewhat nicely de- duplicates code between data creation (upon import) and data streaming (modifiers and constraints). The only worying part is what happens when a CacheFile is deleted and/or has its path changed. For now, we traverse the whole scene and for each object using the CacheFile we free the pointer and NULL-ify it (see BKE_cachefile_clean), but at some point this should be re-considered and make use of the dependency graph.
2016-10-25Merge remote-tracking branch 'origin/master' into blender2.8Dalai Felinto
2016-10-24Viewport: move the background to the "modern" viewportDalai Felinto
This also leaves room for the gradient background Mike Erwin wants to implement.
2016-10-23Displace modifier: add global/local space option for X/Y/Z/XYZ directions.Quentin Wenger
Reviewed By: brecht Differential Revision: https://developer.blender.org/D2309
2016-10-22GPencil: New option to lock strokes to axisAntonioya
Now, the strokes can be locked to a plane set in the cursor location. This option allow the artist to rotate the view and draw keeping the strokes flat over the surface. This option is similar to surface option but doesn't need a object. The option is only valid for 3D view and strokes in CURSOR mode.
2016-10-21Viewport: use depth shader to debug the depthDalai Felinto
At the moment this already shows that the depth is the same after the solid plates and in the very end of drawing, while they should be different. Later on we can adapt this to show different buffers we want to debug. I am using near=0.1, far=2.0 for my tests. I decided not to make a doversion for near/far because this is for debugging only
2016-10-21Merge remote-tracking branch 'origin/master' into blender2.8Dalai Felinto
Conflicts: source/blender/blenloader/intern/versioning_defaults.c
2016-10-17UV Editor: Add filter option to control what is visible when Draw Other ↵Sergey Sharybin
Objects is enabled Previously the editor will always try to only show UV faces with the same exact active image or image texture, which is quite difficult to control on a production shaders, where each material can have multiple objects assigned. The idea of this commit is to bring option which allows to easily control what to display when "Draw Other Objects" is enabled, so currently we can have old behavior ("Same Image") or tell editor to show everything ("All"). In the future we can extend it with such filters as "Same Material" and things like that. Hopefully this will help @eyecandy's workflow of texturing.
2016-10-15Merge branch 'master' into blender2.8Bastien Montagne
2016-10-14Fix T49657: Audio backend "Jack" should be named "JACK".Bastien Montagne
2016-10-13Merge remote-tracking branch 'origin/master' into blender2.8Dalai Felinto
2016-10-13Usual UI/i18n tweaks & fixes.Bastien Montagne
2016-10-13Fix: Grease Pencil palettes were missing a RNA path callbackJoshua Leung
2016-10-11Fix objects added via py being on the wrong layer when viewport is decoupled ↵Sergey Sharybin
from scene
2016-10-11Merge branch 'master' into blender2.8Bastien Montagne
2016-10-10Fix viewport camera gets out of sync in certain casesSergey Sharybin
It was possible to have two viewports opened and start using Ctrl-0 to make different objects an active camera for the viewport. This worked fine for viewports which had decoupled camera from the scene, but if viewport was locked to scene camera it was possible to run into situation when two different viewports are locked to scene camera but had different v3d->camera pointers.
2016-10-07Merge branch 'master' into blender2.8Bastien Montagne
2016-10-07Fix T49595: bpy - negative skin_vertices radius crashes BlenderBastien Montagne
This is unsigned value (negative radius does not have much sense anyway!).
2016-10-07Avoid possible compatibility issues with tmp viewport flagsJulian Eisel
We can't prevent users from using this branch, so I'd say it's reasonable to be a bit careful about what we store to files. In this concrete case we were storing a bit-flag for temporary use (only during early viewport transition) in a bit-field that's saved in files. Doing so would mean we either can't reuse this bit later or we risk breaking files (admittedly, likely in a pretty minor way). Moved the bit-flag to a new bit-field which can be removed later.
2016-10-05Barebones for viewport code apart from 2.7x drawing codeDalai Felinto
A new option (set in the properties region) allows the user to pick the "new viewport" for the rendering (in the UI: Modern Viewport). For now we have a semi-blank file (view3d_draw.c) that can starts to take over the drawing pipeline. I can't guarantee we will be able to keep both drawing systems working through the entire 2.8 development, but it should do for now. also, we can use branches for some of the viewport development, but it's better to keep things in 2.8 whenever we can, so people can test it.
2016-10-03Merge branch 'master' into blender2.8Bastien Montagne
2016-10-03Fix T49506: Remove unused File Browser theme settingsJulian Eisel
If I didn't miss anything these are indeed not used. Old themes should still work (will only print info on redundant theme defines into console), but updated non-contrib themes already.
2016-09-30Merge branch 'master' into blender2.8Julian Eisel
Conflicts: source/blender/blenloader/intern/writefile.c
2016-09-27Fix T49464: Data Transfer modifier slows down redraw of window.Bastien Montagne
Never call function that might recompute a DM in an RNA itemf callback (or any UI-related func in general)! There was an XXX comment asking if this was OK - well, no, it was not. :P Could be ported back to some 2.78 flavour should we need it.
2016-09-26Merge branch 'master' into blender2.8Bastien Montagne
WARNING! Full build is broken, alembic has not been merged in correctly and has some references to particle stuff. Don't have time to tackle this now (and probably would be better if someone knowing what he's doing does it anyway). Conflicts: release/scripts/startup/bl_ui/properties_particle.py source/blender/blenkernel/intern/library_remap.c source/blender/blenkernel/intern/smoke.c source/blender/editors/physics/particle_object.c source/blender/editors/physics/physics_intern.h source/blender/editors/physics/physics_ops.c source/blender/editors/space_outliner/outliner_intern.h source/blender/editors/space_view3d/drawvolume.c source/blender/makesrna/intern/rna_smoke.c
2016-09-24Viewport smoke: add options to draw velocity vectors.Kévin Dietrich
This basically exposes to the UI a function that was only available through a debug macro ; the purpose is obviously to help debugging simulations. It adds ways to draw the vectors either as colored needles or as arrows showing the direction of the vectors. The colors are based on the magnitude of the underlying vectors. Reviewers: plasmasolutions, gottfried Differential Revision: https://developer.blender.org/D1733
2016-09-24Viewport smoke: add support for axis aligned slicing.Kévin Dietrich
Current approach uses view aligned slicing to generate polygons for GL texturing such that the generated polygons are always facing the view plane. Now it is also possible to use object aligned slicing, which creates polygons by slicing the object perpendicular to whichever axis is facing the most the view plane. It is also possible to create a single slice for inspecting the volume, or for 2D rendering effects. Settings for this, along with a density multiplier setting, are to be found in a newly added "Smoke Display Settings" panel in the smoke domain properties tab. Reviewers: plasmasolutions, gottfried Differential Revision: https://developer.blender.org/D1733
2016-09-23Merge branch 'master' into blender2.8Julian Eisel
Conflicts: intern/ghost/intern/GHOST_ContextCGL.mm intern/ghost/intern/GHOST_WindowCocoa.mm source/blender/makesrna/intern/rna_main.c