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
2018-07-02Keymap: add back X-Key for deleteCampbell Barton
This is needed as part of modeling work-flow, so keep it accessible.
2018-07-02Merge branch 'master' into blender2.8Campbell Barton
2018-07-02Cleanup: use bool for poll functionsCampbell Barton
2018-07-01Merge branch 'master' into blender2.8Campbell Barton
2018-07-01RNA: use bool for boolean RNA typesCampbell Barton
We were using int's for bool arguments in BKE, just to avoid having wrapper functions.
2018-06-29Keymap: minimal default keymapCampbell Barton
Use 2.7x keymap preset for full keymap. Use define to allow further adjustments. See T55666.
2018-06-29Cleanup: some moar DM kicking, in armature edit code.Bastien Montagne
2018-06-29Merge branch 'master' into blender2.8Campbell Barton
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-28UI: keep some operator text in headers.Brecht Van Lommel
Key shortcuts and explanation about how to use the tool should go to the status bar, but other info can in the header so it's near where the user is working. This distinction has not been made yet for all operators.
2018-06-26UI: move modal operator text from headers to status bar.Brecht Van Lommel
Python API is context.workspace.status_text_set()
2018-06-193D View: improve selection lockingCampbell Barton
Locked selection would still occlude with objects which could not be selected.
2018-06-13Tag object/scene for selection update from operatorsSergey Sharybin
Before that depsgraph tagging was done from inside notifier listener in viewport. This had the following issues: - If there are no viewports, selection tag was not done. Causing possible issues when object becomes visible. - Required special trickery to detect which data to tag for update. - Was causing crash when transforming/selecting markers in clip editor. This is because selecting marker needed to poke viewport to redraw, since selected bundles will be displayed differently in viewport.
2018-06-12Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenkernel/BKE_anim.h source/blender/blenkernel/intern/anim.c source/blender/blenkernel/intern/scene.c source/blender/editors/armature/pose_edit.c source/blender/editors/armature/pose_transform.c source/blender/editors/armature/pose_utils.c source/blender/editors/include/ED_armature.h source/blender/editors/object/object_edit.c source/blender/editors/transform/transform_conversions.c
2018-06-12Cleanup: moar G.main removal from BKE area.Bastien Montagne
2018-06-12Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/editors/object/object_add.c source/blender/editors/object/object_relations.c
2018-06-12Cleanup: remove some G.main from ED's animsys.Bastien Montagne
The easy ones - there some much, much trickier to tackle there...
2018-06-07Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/editors/animation/anim_deps.c source/blender/editors/animation/keyframing.c source/blender/editors/animation/keyingsets.c source/blender/editors/armature/pose_edit.c source/blender/editors/armature/pose_transform.c source/blender/editors/gpencil/gpencil_convert.c source/blender/editors/include/ED_anim_api.h source/blender/editors/include/ED_keyframing.h source/blender/editors/interface/interface_anim.c source/blender/editors/space_action/action_edit.c source/blender/editors/space_graph/graph_edit.c source/blender/editors/space_outliner/outliner_draw.c source/blender/editors/transform/transform_conversions.c source/blender/makesrna/intern/rna_armature.c source/blender/makesrna/intern/rna_pose.c source/blender/python/intern/bpy_rna_anim.c source/blenderplayer/bad_level_call_stubs/stubs.c source/gameengine/Converter/KX_BlenderSceneConverter.cpp
2018-06-07Cleanup: remove moar G.main usages.Bastien Montagne
Notes: * Really need to address RNA setters case, end up adding way too much G.main here these days... :/ * Added Main pointer into bAnimContext, helps a lot in anim code ;)
2018-06-07Cleanup: Nuke moar G.main usages...Bastien Montagne
2018-06-06Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/collada/ArmatureExporter.cpp source/blender/collada/ArmatureExporter.h source/blender/collada/DocumentExporter.cpp source/blender/collada/DocumentExporter.h source/blender/collada/SceneExporter.cpp source/blender/collada/SceneExporter.h source/blender/collada/collada.cpp source/blender/collada/collada.h source/blender/editors/armature/armature_edit.c source/blender/editors/armature/editarmature_retarget.c source/blender/editors/armature/pose_transform.c source/blender/editors/include/ED_armature.h source/blender/editors/include/ED_object.h source/blender/editors/include/ED_screen.h source/blender/editors/io/io_collada.c source/blender/editors/object/object_transform.c source/blender/editors/screen/screen_edit.c source/blender/editors/screen/screen_ops.c source/blender/windowmanager/intern/wm.c source/blender/windowmanager/intern/wm_files.c source/blender/windowmanager/intern/wm_window.c source/blenderplayer/bad_level_call_stubs/stubs.c
2018-06-06Cleanup: Nuke moar G.main usages...Bastien Montagne
2018-06-05Moved function declarations from BKE_DerivedMesh.h to BKE_mesh_runtime.hSybren A. Stüvel
The function definitions still reside in DerivedMesh.c. Once we're done porting all the DerivedMesh use to Mesh, we'll move the still-relevant functions to mesh_runtime.c. This move is now cumbersome due to shared statically-declared utility functions in DerivedMesh.c
2018-06-05Moved function declarations from BKE_mesh.h → BKE_mesh_runtime.hSybren A. Stüvel
2018-06-04Merge branch 'master' into blender2.8Campbell Barton
2018-06-04Cleanup: strip trailing space in editorsCampbell Barton
2018-06-01Merge branch 'master' into blender2.8Campbell Barton
2018-06-01Cleanup: trailing whitespace (comment blocks)Campbell Barton
Strip unindented comment blocks - mainly headers to avoid conflicts.
2018-06-01T54991: Restore support for Motion Path drawing in 2.8Joshua Leung
This commit restores support for Motion Path drawing in 2.8 (as it wasn't ported over to the new draw engines earlier, and the existing space_view3d/drawanimviz.c code was removed during the Blender Internal removal). Notes: * Motion Paths are now implemented as an overlay (enabled by default). Therefore, you can turn all of them on/off from the "Overlays" popover * By and large, we have kept the same draw style as was used in 2.7 Further changes can happen later following further design work. * One change from 2.7 is that thicker lines are used by default (2px vs 1px) Todo's: * There are some bad-level calls introduced here (i.e. the actgroup_to_keylist() stuff). These were introduced to optimise drawing performance (by avoiding full keyframes -> keylist conversion step on each drawcall). Instead, this has been moved to the calculation step (in blenkernel). Soon, there will be some cleanups/improvements with those functions, so until then, we'll keep the bad level calls. Credits: * Clément Foucault (fclem) - Draw Engine magic + Shader Conversion/Optimisation * Joshua Leung (Aligorith) - COW fixes, UI integration, etc. Revision History: See "tmp-b28-motionpath_drawing" branch (rBa12ab5b2ef49ccacae091ccb54d72de0d63f990d)
2018-05-31Animation: Pass dependency graph to animation systemSergey Sharybin
This way we allow animation system to make decisions based on which context dependency graph is coming from, and whether it belongs to an active edit window or not.
2018-05-31Update CoW when adding/removing pose in pose librarySybren A. Stüvel
2018-05-31Revert "Tag COW when applying pose from pose library"Sybren A. Stüvel
This reverts commit 24b03729ae5ba4561ace8cbfb2d56cdbde781589; committed too soon.
2018-05-31Tag COW when applying pose from pose librarySybren A. Stüvel
Related to T55232
2018-05-28Ugly Hacky Fix: Clear Loc/Rot/Scale + Autokey now works for bonesJoshua Leung
This is a hacky fix so that animators can use this tool again with autokey enabled (which they do all the time). The issue here is that the tool writes the new (0) values to the original data, but insertkey now reads from evaluated data (so that keying interpolated values works). However, the cleared values do not get re-evaluated or flushed before insertkey gets to it (via auto keying), meaning that the wrong values get keyed. There may be better solutions for this, but for now, this is the simplest fix that I can get working.
2018-05-24Oops... should rebuild before committingJoshua Leung
2018-05-24Multi Pose: Selecting a bone in one armature doesn't deselect bones in the ↵Joshua Leung
other armatures This was actually due to missing COW flushing of pose data on the "other" objects (only the active object was getting tagged for updates).
2018-05-24Fix: Several pose select operators were not in fact working with COWJoshua Leung
The following operators are fixed in this commit * POSE_OT_select_linked * POSE_OT_select_grouped * POSE_OT_select_mirror
2018-05-22Fix memory leak in armature deleteCampbell Barton
2018-05-22Cleanup: replace MEM_SAFE_FREE -> MEM_freeNCampbell Barton
No need to check for NULL in this case.
2018-05-19WIP COW Fix: Insert keyframe operators/api now queries depsgraph for ↵Joshua Leung
evaluated data When using copy on write, insert keyframe operators were reading from old bmain data instead of COW data. This meant that inserting keyframes would often read old/stale data, resulting in invalid keyframes getting created (e.g. from last transform operation, instead of actual current state). This commit makes it so that keyframing operators will ask depsgraph for the evaluated copy of the data, so that it can read values from that. It introduces a new function - `DEG_get_evaluated_rna_pointer()`, which when working correctly/fully, should work just like the other `DEG_get_evaluated_*()` functions, except it lets you pass in an RNA Pointer. However, currently, this is only done for Pose Bones (as a dirty hack, since this is an important/pivotal requirement for production) and/or datablock properties directly (since we can just use the DEG_get_evaluated_id() directly). on the datablock. Committing to a branch for now as this all needs more testing. More work to come later at a more sane time of day!
2018-05-18COW Fix: POSE_OT_armature_apply (Apply Pose as Rest Pose) now works with COWJoshua Leung
2018-05-15Fix POST_OT_hide/revealJoshua Leung
Apparently they weren't actually working, despite seemingly working when tested earlier. Argh!
2018-05-15Fix: POSE_OT_visual_transform_apply now works with Copy on WriteJoshua Leung
2018-05-15Remove G.main usageJoshua Leung
2018-05-14Fix: With no bones selected, move bones to layer operator would display ↵Joshua Leung
garbage layer set Was using uninitialised memory
2018-05-14Fix: POSE_OT_select_constraint_target now works with copy on writeJoshua Leung
2018-05-12Replace `BKE_bvhtree_from_mesh_looptri` with `BKE_bvhtree_from_mesh_get`.Germano
Must have had a conflict in commit rB82d59c6588d7 when merging branchs.
2018-05-11Fix: Last of the operators from T54811 now work with Copy on WriteJoshua Leung
2018-05-11T54983: Bone selection overlayJeroen Bakker
Bone selection overlay is only available in pose mode. and when active overrules the selection buffer. This is currently `tricked` by switching the draw engines, but this is an exception. Not sure how to solve this in a better way. After this is solved we can look at how to localize the dim effect to only the objects connected to the active armatures. Currently it dims the whole screen (including background). @campbellbarton I added you as reviewer as it you have done a lot in the DRW_draw_select_loop Reviewers: campbellbarton, fclem Reviewed By: fclem Subscribers: campbellbarton Tags: #bf_blender_2.8, #code_quest Maniphest Tasks: T54983 Differential Revision: https://developer.blender.org/D3241
2018-05-09Cleanup: quiet shadow warningCampbell Barton