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-25Fix Torus default UV's offset outside 0-1 boundsCampbell Barton
When major/minor segments didn't fit evenly into 4, the UV's would move outside the UV bounds.
2016-11-25Remove eekadoodle workaround for add torusCampbell Barton
This is no longer needed since moving to MPoly/MLoop data structure. Also use 3x3 matrix for transforming instead of quaternion (slightly better performance).
2016-11-24Fix prefs UI when built w/o CyclesCampbell Barton
2016-11-20Cycles: add basic backwards compatibility for device selection, move to ↵Brecht Van Lommel
System tab. For the multi-GPU case users still have to reconfigure the devices they want to use. Based on patch from Lukas Stockner. Differential Revision: https://developer.blender.org/D2347
2016-11-18Fix UV layer bug in object_utils.object_data_add()Campbell Barton
Adding a torus in edit-mode, with 'Generate UVs' for example would either create another UV layer with the default name or switch to the default UV layer name if it exists. Now use the existing UV layer if present.
2016-11-18Add Torus: avoid excessive attr accessCampbell Barton
2016-11-18Fix T50035: Minor interface bug: UV/ImageEditor - Paint Mode - Fill BrushBastien Montagne
Patch by @LucaRood, added some cleanup of DRAW/FILL conditions in this code too...
2016-11-18Fix T50052: bpy.utils.unregister_module doesn't unregister classes of ↵Bastien Montagne
submodules in reload scenario. reload case would clear TypeMap before unregistering addons, which made all calls to unregister_module() to do absolutely nothing.
2016-11-16Fix custom props not being handled correctly by manual/pyref UI menu entries.Bastien Montagne
2016-11-15Fix menu inconsistenciesAaron Carlisle
This commit fixes two issues: - UV/Image editor uvs menu did not match the 3D View's which was changed in rB2b240b043078 - Circle select tool was missing in particle edit mode Reviewers: Severin Differential Revision: https://developer.blender.org/D2329
2016-11-12Fix Make Vertex Parent operator missing from vertex/curve/lattice menus.Geoffroy Krantz
Reviewed By: brecht Differential Revision: https://developer.blender.org/D2346
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-11Grease Pencil: Fix python errors opening N panel -> GP with empty VSESergey Sharybin
Solves errors, but not sure interface is indeed what users will expect. Will ask GP team to check on this.
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-03Add 'Set From Faces' tool to custom split normals.Bastien Montagne
Feature request during bconf, makes sense to have it even as an hack for now, since this is probably one of the most common use cases. This should be redone in bmesh once we have proper custom noramls handling in edit mode...
2016-10-31Added 'delete unlocked vertex groups' option.Sybren A. Stüvel
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-27Fix T49743: Adding torus in edit mode local mode shows errorBastien Montagne
The 'local' layers were not correctly set when redoing 'add object' addons using object_utils.py helper (we always want to restore layers from view in local view, even if we set 'real' layers from operator afterwards).
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-23System info: make it more resiliant to errors.Bastien Montagne
Using context manager for output file itself, and whole try/except block to at least catch and print error in file. Also some minor tweaks to previous 'list add-ons' commit.
2016-10-23System info: also report enabled add-ons.Bastien Montagne
Based on idea & patch by @lijenstina over IRC (iirc :/ ).
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-21Fix T49804: Display grid Scale/Subdivision are sometimes disabled in View3D ↵Bastien Montagne
when they should not. Not really possible to precisely detect all cases in which they should or should not be active, but at least now it won't show as disabled when it actually has some effects.
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-13Usual UI/i18n tweaks & fixes.Bastien Montagne
2016-10-11Fix objects added via py being on the wrong layer when viewport is decoupled ↵Sergey Sharybin
from scene
2016-10-04Cleanup: Update links to online py API doc, and remove old commented stuff.Bastien 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-10-03Fix missing new eyedropper keymap entry in keyconfig_utils.pyBastien Montagne
Missing from rBe9bcdcdbbd91d9.
2016-10-01Add default UV coordinates for torus primitive.Sebastian Witt
Fixes T47489. Reviewed By: brecht
2016-09-28Fixes for pose library change 601ce6a89c4Sybren A. Stüvel
Apparently the keying sets system doesn't support subclassing KeyingSetInfo subclasses. I have added a note to the top of the file to indicate this to future developers.
2016-09-28POSELIB_OT_pose_add: only create keyframes for selected bones.Sybren A. Stüvel
Previously the pose library used the WholeCharacter key set, which ignores selection and add keys for almost all bones in the rig. This is a very slow operation on complex rigs. With this patch, only selected bones are keyed, defaulting to keying all bones when none are selected. Note that this fixes the FIXME previously mentioned in the source.
2016-09-27Fix T49423: Data Preview of group containing only group instances is empty.Bastien Montagne
Code was not getting correct boundbox in some cases (group only instancing other groups e.g.), now compute our own bbox in those cases. Based on patch by @lichtwerk, but extended the fix to include linked datablocks in some cases (linked objects in local groups, linked objects in local scene, etc.), this was also broken in existing code. Reviewers: mont29 Subscribers: duarteframos Differential Revision: https://developer.blender.org/D2257
2016-09-25Volume slice settings: tweak/fix UI enabling conditions.Kévin Dietrich
It was still possible to have some properties enabled when it does not make sense to have them so.
2016-09-25Viewport smoke: fix a couple of issues in the new display settings.Kévin Dietrich
- WITH_SMOKE macro was not defined so some code was not compiled, though it was still accessible from the UI - some UI elements were disappearing due to bad indentation, also rework the UI code to not hide but rather disable/grey out button in the UI - Display thickness was not used due to bad manual merge of the code from the patch.
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-23Particles: Add operator to quicly duplicate active particle system to the ↵Sergey Sharybin
same object
2016-09-21UI: Make eyedropper shortcut configurableJulian Eisel
It's now possible to change the shortcut for invoking the eyedropper while hovering a button (E by default). Also removed the keymap editor entry for the modal eyedropper keymap, it's now automatically appended to the eyedropper shortcut.
2016-09-21FFmpeg interface improvementsSybren A. Stüvel
This patch changes a couple of things in the video output encoding. {F362527} - Clearer separation between container and codec. No more "format", as this is too ambiguous. As a result, codecs were removed from the container list. - Added FFmpeg speed presets, so the user can choosen from the range "Very slow" to "Ultra fast". By default no preset is used. - Added Constant Rate Factor (CRF) mode, which allows changing the bit-rate depending on the desired quality and the input. This generally produces the best quality videos, at the expense of not knowing the exact bit-rate and file size. - Added optional maximum of non-B-frames between B-frames (`max_b_frames`). - Presets were adjusted for these changes, and new presets added. One of the new presets is [recommended](https://trac.ffmpeg.org/wiki/Encode/VFX#H.264) for reviewing videos, as it allows players to scrub through it easily. Might be nice in weeklies. This preset also requires control over the `max_b_frames` setting. GUI-only changes: - Renamed "MPEG" in the output file format menu with "FFmpeg", as this is more accurate. After all, FFmpeg is used when this option is chosen, which can also output non-MPEG files. - Certain parts of the GUI are disabled when not in use: - bit rate options are not used when a constant rate factor is given. - audio bitrate & volume are not used when no audio is exported. Note that I did not touch `BKE_ffmpeg_preset_set()`. There are currently two preset systems for FFmpeg (`BKE_ffmpeg_preset_set()` and the Python preset system). Before we do more work on `BKE_ffmpeg_preset_set()`, I think it's a good idea to determine whether we want to keep it at all. After this patch has been accepted, I'd be happy to go through the code and remove any then-obsolete bits, such as the handling of "XVID" as a container format. Reviewers: sergey, mont29, brecht Subscribers: mpan3, Blendify, brecht, fsiddi Tags: #bf_blender Differential Revision: https://developer.blender.org/D2242
2016-09-21GPencil D+W Pie: Don't show editing operators when not in editmodeJoshua Leung
These operators only operate on the selected strokes, but when not in editmode, stroke vertices are not shown. Safe for 2.78
2016-09-20Small speedup for blend_render_info.pyDmitry Dygalo
Do not close and re-open the file in case it's compressed, gzip module can now directly take a file object as parameter. Differential Revision: https://developer.blender.org/D2235
2016-09-19Fix T49375: align rotation with snap target isn't toggleable in edit mode.Bastien Montagne
Based on D2237, but fixed patch always hiding 'snap on self' button... Should be safe for 2.78.
2016-09-17Fix T49383: Color pickers are available if the color is lockedAntonioya
If the color is locked, the row is disabled, but the picker is still available. This error was present in older versions for layer color.
2016-09-16Pose Library pose list: Default to 5 rows to match the new up/down buttonsSybren A. Stüvel
The buttons now nicely align with the pose list itself.
2016-09-16Added buttons to move a pose in a pose library up/down.Sybren A. Stüvel
This will break the pose library preview add-on, since that add-on uses file indices rather than pose names.
2016-09-16GPencil: Remove toggle option for pop-up specials menuAntonioya
According UI rules, no toggle options in pop-ups menus, so remove it.
2016-09-16Fix T49349: Baking action doesnt bake multiple objects.Bastien Montagne
Tooltip was wrong here, it can only bake a single (active) object, 'only selected' option is for pose bones only...
2016-09-16GPencil: Add a new special menu for editing and replace subdivision shortcutAntonioya
Replace the W shortcut for subdivision by a new menu for edit specials in order to keep consistency in UI. Subdivision is not used all the time, so it's better assign this shortcut to menu.