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-16Fix T50046: Segmentation fault due to out-of-range VertexGroup.weight() call.Bastien Montagne
`get_vert_def_nr()` was not checking vert index in bmesh case (aka Edit mode).
2016-11-16Remove unused vector iconsMartijn Berger
it seems to me the icons are unused: - VICO_VIEW3D_VEC - VICO_EDIT_VEC - VICO_EDITMODE_VEC_DEHLT - VICO_EDITMODE_VEC_HLT - VICO_DISCLOSURE_TRI_RIGHT_VEC - VICO_DISCLOSURE_TRI_DOWN_VEC - VICO_MOVE_UP_VEC - VICO_MOVE_DOWN_VEC - VICO_X_VEC Since their code contains immediate mode GL calls and they seem to be unused i thought we could remove them. Reviewers: mont29 Reviewed By: mont29 Subscribers: merwin Tags: #bf_blender_2.8 Differential Revision: https://developer.blender.org/D2356
2016-11-16Disable possibility to flip bone names of linked armaturesSergey Sharybin
Linked data should not be modified in such a way. Reported by Nathan here in the studio, reviewed by Bastien, thanks!
2016-11-16Fix T50026: "Only Insert Needed" doesn't work when using Trackball rotationJoshua Leung
The rotation case here only covered rotation by the "Rotate" tool, but skipped the "Trackball" tool.
2016-11-15Fix T50022: "Mirror" in Dopesheet Crashes BlenderJulian Eisel
Just fixing crash itself. Actually operator shouldn't run in most editors (not in dopesheet either I guess), but don't want to spend time on that right now.
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-15Atomics: Make naming more obvious about which value is being returnedSergey Sharybin
2016-11-14BMesh: fix edge-rotation selection state bugCampbell Barton
Failed edge rotation could leave unselected edge between selected faces, also report warning when edges fail to be rotated.
2016-11-13BMesh: BM_face_exists no longer uses return argCampbell Barton
Just return the face or NULL, like BM_edge_exists(), Also for BM_face_exists_overlap & bm_face_exists_tri_from_loop_vert. No functional changes. Old code did some partial overlap checks where this made some sense, but it's since been removed.
2016-11-13Fix T49997: don't flip texture users menu in texture properties.Brecht Van Lommel
2016-11-13Fix T50008: camera DOF Distance picking from W key menu not working.Brecht Van Lommel
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-12Fix T49996: VSE opengl render crash with grease pencil if current frame is ↵Antonioya
empty If the opengl render with grease pencil is run from VSE with the current frame outside visible frames, the render pass is wrong and the render must be canceled because nothing to render. Related to #T49975
2016-11-11GPencil: Create brush set when create new datablock or layerAntonioya
Before this commit, the brush set was created with the first stroke drawing, but if the user creates the datablock or the layer manually (not drawing) the brush list was empty. This commit complement the python fix by Sergey: https://developer.blender.org/rB89c1f9db37cc1becdd437fcfdb1877306cc2b329
2016-11-10Consider Numpad Enter in pose slide operatorsSergey Sharybin
It was annoying to only have regular Enter confirming input there.
2016-11-10Fix Grease Pencil render in VSE crashes when no strips (#T49975)Dalai Felinto
Solution as suggested by Sergey Sharybin. Initial debugging by Antonio Vazquez.
2016-11-09Depsgraph: Fix crash deleting bones in armature edit modeSergey Sharybin
For the new dependency graph we have to rebuild graph when bones "topology" are changing.
2016-11-04Fix T49905: Segfault when copying object data of linked object.Bastien Montagne
We have to clear `newid` of all datablocks, not only object ones. Note that this whole stuff is still using some kind of older, primitive 'ID remapping', would like to see whether we can replace it with new, more generic one, but that's for another day.
2016-11-04Fix (unreported) asserts in `make_object_duplilist_real()`.Bastien Montagne
Code would try to add multiple time the same key in `parent_gh` (for this ghash a lot of dupliobjects may generate same key). Was making the tool unusable in debug builds. Also optimise things a bit by avoiding creating parent_gh when only `use_base_parent` is set.
2016-11-02COLLADA: Removed obsolete Export select option 'Both' which created invalid ↵Gaia Clary
data (duplicate transformation information for nodes)
2016-11-02Change frame for animations should not bein the UNDO stackDalai Felinto
Request from Hjalti Hjalmarsson for the animation work. Basically a common part of the workflow of animation is to change the pose, scrub back and forth a few times and roll back the changes when unsatisfied. However if you go back and forth too many times the UNDO stack would be full, and it would not be possible to bring back the previous pose. I'm leaving clip_editor change frames as it is for now. But we can probably change the behaviour there as well.
2016-11-01Add 'copy array' for rna buttonsBastien Montagne
ctrl-alt-c/v allows to copy/paste whole RNA array, e.g. location, rotation, etc., from UI buttons. Request from Andy at the studio.
2016-11-01Fix T49856: Blender 2.78 crashes after loading data from a blendfileBastien Montagne
Issue here was that py API code was keeping references (pointers) to the liniked data-blocks, which can actually be duplicated and then deleted during the 'make local' process... Would have like to find a better way than passing optional GHash to get the oldid->newid mapping, but could not think of a better idea.
2016-10-31Added 'delete unlocked vertex groups' option.Sybren A. Stüvel
2016-10-31UI: Don't show empty panel right-click menuJulian Eisel
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-29Alembic export: fix frame range values being reset at every update, drawKévin Dietrich
call.
2016-10-28Cleanup: avoid using G.main.Kévin Dietrich
2016-10-28Alembic Export: set start and end frame to that of the scene forKévin Dietrich
convenience. Users will most likely export an entire animation rather than a single frame, so it can save a few clicks.
2016-10-28CacheFile: only enable scale property slider if we are editing the cacheKévin Dietrich
through a constraint. It doesn't make sense and is a bit confusing to have this property enabled in the modifier context.
2016-10-27Fix T49829: Removal of custom icon previews during add-on unregister crashes ↵Bastien Montagne
Blender. Issue was happening when removal of custom icons was done while they were still being rendered by preview job. Now add a 'deffered deletion' system, to prevent main thread to delete preview image until loading thread is done with them. Note that ideally, calling `ED_preview_kill_jobs()` on custom icon removal would have been simpler, but we don't have easy access to context here...
2016-10-26Cleanup: rename functions in BLI_bitmap_draw_2dCampbell Barton
2016-10-26Cleanup: move bitmap drawing into its own moduleCampbell Barton
Bitmap drawing is out-of-scope for a general math API, move to BLI_bitmap_draw_2d.
2016-10-24Fix unlikely uninitialized pointer usage.Bastien Montagne
Reported by Coverity.
2016-10-24Fix T49827L Crash linking material while in Material viewport shading modeSergey Sharybin
Material linking might and does change the way how drawObject is calculated but does not tag drawObject for recalculation in any way. Now use dependency graph to tag draw object for reclaculation. Currently do this using OB_RECALC_DATA taq since tagging is not very granular yet. In the future we can introduce ore granular tagging in the new dependency graph easily. Simple and safe for 2.78a.
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-22Fix T49656: Crash when starting playback while using JACK audio with A/V syncJörg Müller
When ED_screen_animation_play is called from wm_event_do_handlers,ScrArea *sa = CTX_wm_area(C); is NULL in ED_screen_animation_timer. Informing the audio system in CTX_data_main_set, that a new Main has been set.
2016-10-20Python API: add full_path parameter for bpy.ops.ui.copy_data_path_button.christian brinkmann
Also use the operator as part of the UI keymap now, to deduplicate code and let users configure a custom shortcut. Reviewed By: brecht Differential Revision: https://developer.blender.org/D2303
2016-10-17Fixup for doversion (rB8d573aa0 and rBa7e74791)Dalai Felinto
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-16More fixes for keyframe theme optionsJulian Eisel
Couple of issues here: * Missing initialization for 3D view keyframe options for "Reset to Default Theme" * Alpha values not reset correctly on "Reset to Default Theme" * Alpha values of timeline keyframe options not reset correctly for old files Also corrected old version patches even though they're overridden later, to avoid more issues in case people copy this code. Corrections to d7af7a1e04c243 and 8d573aa0ecb61
2016-10-16Cleanup: Unused parameters in OutlinerJulian Eisel
These were only passed to own recursion calls.
2016-10-16Fix missing outliner redraw when adding VSE stripJulian Eisel
Needed for outliner "Sequence" display mode.
2016-10-14Prevent crash after OpenGL rendering animation to images.Sybren A. Stüvel
2016-10-14Fix T49571: 2d stabilize keys not visible in the Graph Editor and Dope SheetSergey Sharybin
2016-10-14Fix T49601: Material menu length problem.Bastien Montagne
Regression from rB69b66d549bcc8, was supposed to be non-functionnal change, so not sure why search menu was reduced here? For now, restore to 2.77 width.
2016-10-14Fix T49646: Switching from large to small image can get stuck zoom at max ↵Anthony Edlin
zoom distance. Allow for zooming in at max zoom distance. Reviewed By: Severin Differential Revision: https://developer.blender.org/D2291
2016-10-13Fix T49635: column_flow Layout - last column is too small.Bastien Montagne
Column flow layout was abuse ui_item_fit in a weird way, which was broken for last column items. Now rather use own code, which basically spread available width as equally as possible between all columns.
2016-10-13Cleanup: UI layout: remove unsed and confusing parameter.Bastien Montagne
Things are complicated enough like that, no need to add useless noise on top of it!
2016-10-13wrong alpha set for timeline theme (fixup for rBf329ebe3)Dalai Felinto