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
path: root/source
AgeCommit message (Collapse)Author
2020-01-13Fix T73029: Crash transforming objectSergey Sharybin
Was caused by recent animation backup added to depsgraph as a part of another bugfix. This commit effectively disables the animation backup, restoring bug related on handlers, but makes it possible to interact with objects again. Will re-iterate over handlers+animated properties.
2020-01-13Depsgraph: Guarantee order of backup of action and ID using itSergey Sharybin
It was possible to have object copy-on-write happening during action's copy-on-write, which was causing access to a freed memory from animation backup. Solves crash reported in T73029.
2020-01-13Depsgraph: Fix wrong access to animated propertiesSergey Sharybin
Copy-on-write backuyp was trying to read float from an array property, which is wrong. This is part of T73029.
2020-01-13Refactor: Make construction of resolved RNA path reusableSergey Sharybin
It is somewhat different from RNA_path_resolve_property_full(), mainly since it's properly setting array index from the f-curve.
2020-01-13Cleanup: remove hack that set operator id in the wmEventCampbell Barton
This can be replaced by passing an argument.
2020-01-13Cleanup: remove unused GPU_texture_from_preview functionCampbell Barton
2020-01-12Merge branch 'blender-v2.82-release'Luca Rood
2020-01-12Fix T71620: broken particle collisions due to rB0666ece2e2f9Luca Rood
An optimisation in the collision system for cloth (static collisions), broke the particle collisions, as they take motion into account. This restores the moving BVH required for the particle collisions, while keeping the optimisation for the cloth collisions. Reviewed By: mano-wii Maniphest Tasks: T71620 Differential Revision: https://developer.blender.org/D6560
2020-01-10Merge branch 'blender-v2.82-release'Patrick Mours
2020-01-10USD Exporter: clarified export options in the UISybren A. Stüvel
- "Only Export Selected Objects" → "Selection Only", as this is the standard used in other exporters. - "Evaluation Mode" → "Use Settings for", as this is clearer for users who aren't as familiar with the technical details of the depsgraph. - "Use Instancing" → "Instancing", and moved the checkbox to the end of the option list into its own box "Experimental". This looks a bit cleaner than just plonking "EXPERIMENTAL" in the checkbox label.
2020-01-10Cleanup: ARegion.sizex/y should not be used to access region sizeJulian Eisel
This should only be used to change and recalculate region sizes in a DPI independent way. To get the size with DPI applied, ARegion.winx/y should be used instead. Added note on this in comment.
2020-01-10Fix T71491: Sculpt Brush Text ColorJeroen Bakker
When text drawing is disabled in the viewport the color of the sculpt brh is set to the last used one. In th Light theme this is black what makes it totally not visible. This change will render the brush text using `TEXT_HI` as this is the last one set when the text overlay is on.
2020-01-10Fix T71908: Animated properties are lost after frame-post handlerSergey Sharybin
The issue was caused by special handling of animation update after manual edits in frame_post handler: to avid loss of manual edits done on top of animated property. This was done as a separate pass for non-animation update after frame_post did modifications. This caused some other side-effect: non-modified animated property was re-setting to the value which is used in the viewport. Idea of this solution is simple: preserve values which came from animation update through copy-on-write process. The actual process of this is a bit involved: need to decode RNA path and do it twice since f-curve might point to a sub-data which pointer will change. Since this is only done for non-active depsgraph (aka depsgraph used for render pipeline) this is probably fine since all this extra overhead is just a fraction of overall render process. Differential Revision: https://developer.blender.org/D6330
2020-01-10Version cycle 2.83, master is now in alpha and open for new work and featuresNathan Letwory
2020-01-10Merge branch 'blender-v2.82-release'Nathan Letwory
2020-01-10Version cycle to 2.83 alpha for master.Nathan Letwory
2020-01-10Cleanup: group event_query functions in headerCampbell Barton
2020-01-10Cleanup: name wm_event_modalkeymap_begin/endCampbell Barton
Relocate & name functions to make it clear calling begin should be followed by a call to end. Also group locking & report functions.
2020-01-10Cleanup: move public event queries into their own fileCampbell Barton
event_system.c has been collecting a lot of different functionality, move generic query/access functions into their own file, since these are used by operators and other parts of the windowing code and aren't part of low level event handling. Also move public last-property API to wm_operators.c.
2020-01-10Version 2.82 cycle to beta for bcon3, stabilizing periodNathan Letwory
2020-01-10Cleanup: use doxy sections in wm_event_system.cCampbell Barton
2020-01-10Correct last commit, restore the double-click state for modal eventsCampbell Barton
2020-01-10Fix T72999: Fast keystrokes ignored for operators with modal keymapsCampbell Barton
Logic to convert double-click events into press events wasn't running in the case an operator had a modal keymap, causing bevel for e.g. to ignore keys pressed quickly. Change event handling logic so modal handlers never receive double click events, so checks for press/release are reliable. While this is an old issue for mouse events in practice it wasn't a problem since the first event typically executed/canceled. Support for keyboard double-click exposed the problem for all modal operators that take numeric input.
2020-01-10Docs: explain logic behind wm_event_modalkeymapCampbell Barton
2020-01-10Fix T72948: Smooth active tool gizmo vibratesCampbell Barton
2020-01-09USD Exporter: removed 'Export' from the exporter option labelsSybren A. Stüvel
Most options were 'Export …', now they are just '…'. For example, 'Export UV Maps' → 'UV Maps'.
2020-01-09USD Exporter: clarification of some comments in the codeSybren A. Stüvel
No functional changes.
2020-01-09USD Exporter: make it possible to debug-print arbitrary export graphsSybren A. Stüvel
This is useful for debugging things like the previous commit. No functional changes to the actual USD exporter.
2020-01-09USD Exporter: properly export objects whose parents are not exportedSybren A. Stüvel
The exporter constructs an export hierarchy, and then traverses that hierarchy from the root to the children. When an object is to be exported, but its parent is not, it meant that this traversal from (great)parent to children would skip these objects. This commit fixes that by inserting the missing parents as 'transform only' into the hierarchy.
2020-01-09USD Exporter: removed 'Visible Objects Only' exporter optionSybren A. Stüvel
The way the USD exporter currently works, it is not possible to export invisible objects. As such, the 'Visible Objects Only' option was confusing. Exporting invisible objects means obtaining invisible evaluated objects from the depsgraph, which is not something that's currently implemented. Once that's done, we can reintroduce this option.
2020-01-09USD Exporter: removed exclusion of 'Holdout' collectionsSybren A. Stüvel
This is in response to @brecht's remark in rBec62413f803e, where he states that the approach was problematically interpreting the holdout setting in a different way than what it was designed to do. If we later want to add back a different "never include this in exports" criterion, it can be easily done in `AbstractHierarchyIterator::mark_as_weak_export()`. If such a criterion should be file-format-specific, it can be done by overriding that function in the file-format-specific subclass.
2020-01-09Fix T72375: Crash when using spin toolmano-wii
The original geometry referenced in `vtable` was deleted by the `extrude_face_region` operator. It is read soon after, so don't delete the original geometry (param `use_keep_orig`). This may have a small impact on performance.
2020-01-09Fix T71295: Duplicate macro faulty after rotationStanislav Blinov
As per T71295, the "duplicate+move" macro fails to store TRANSFORM_OT_translate properties once it's been used with rotation. I believe this is due to it being re-initialized with incorrect properties, reading bogus values from stored TRANSFORM_OT_rotate properties. Force storing of actual operator id name instead of one defined in the macro, which in turn forces a name mismatch on initialization. Reviewed By: #modeling, campbellbarton Maniphest Tasks: T71295 Differential Revision: https://developer.blender.org/D6413
2020-01-09Fix UV gizmos poll failing with multiple objectsCampbell Barton
Only the active objects UV selection was checked. This also avoids checking UV selection for every poll call, now this is only done on refresh.
2020-01-09Fix multiple UV gizmos being linked at onceCampbell Barton
This happened when reloading the file after using different gizmos.
2020-01-09Gizmo: use pivot center for UV gizmosCampbell Barton
2020-01-09Gizmo: improve 2D arrow select detectionCampbell Barton
Fixes issue where UV transform circle was being masked by the arrows.
2020-01-09Fix T72900: Mouse-move causes redraw when gizmos are hiddenCampbell Barton
Move redraw tagging to the gesture modal operator to make sure this only runs when it's needed. Caused by d591c8a350310, which tagged the region to redraw when the gizmos were tagged to refresh, however they wont redraw when hidden. Thanks to @jbakker for finding the root cause.
2020-01-09Cleanup: centralize WM_gesture_end callCampbell Barton
Prepare for adding extra logic on free (next).
2020-01-09Fix T72976: CRASH When Selecting CameraAntonio Vazquez
2020-01-08Revert recent change to the particles RNA, and only affect the UI.William Reynish
Even though the name change is more correct, we don't want to change the API at this time.
2020-01-08Fix T72288: Left click on empty space inside file browser resets scrollingmano-wii
Wasn't checking if there actually is a selection.
2020-01-08Fix T72878: Alphabetical sorting in Outliner sorts shorter names lastJulian Eisel
E.g. "Cube" would be placed after "Cube.001", which is not what you'd expect. 2.80 handled this correctly. Loosely based on D6525 by @radcapricorn, but found a bug in that and prefered to do some further adjustments. Also activates test for this case.
2020-01-08Fix T62311: Metaball animation playback crashSergey Sharybin
This commit restores old metaball workaround which was forcing their update from a single thread. The root of the issue comes to the fact that metaball evaluation needs to access metaballs from duplilists, so they are properly polygonized with corresponding motherball which is outside of duplilist. In a more ideal world this will be implemented in a way that will not require iterating over all duplilists, but only through the ones which actually contain metaballs for the given motherball. In practice this ends up in a huge refactor in both relations builder (which meeds to see whether there are metaballs in duplilists without actually creating duplilist as it can not be done prior scene is evaluated) and in metaballs area which need to use new relations information. Additionally, metaball evaluation must become thread-safe, which is currently not a case with dupli-object matrices. There might be issues deeper in polygonization code which I am not aware of. Having this forced single-thread evaluation is same as Blender 2.79 was doing. Think it's better to have slower but simpler solution than to invest time in refactoring area which requires deeper design changes. Reviewed By: dfelinto Differential Revision: https://developer.blender.org/D6539
2020-01-08Fix T72235: crash entering particle editmode with non-valid PTCacheEdit psys ↵Philipp Oeser
pointer Caused by own rBe02ecd599bdc. Can happen with e.g. cloth. Also fixes T59583 Maniphest Tasks: T72235, T59583 Differential Revision: https://developer.blender.org/D6547
2020-01-08Fix T72119: UV/Image Editor theme face colors with no effectmano-wii
The `in int flag;` in `gpu_shader_2D_edituvs_faces_vert.glsl` don't have the values `FACE_UV_ACTIVE` and `FACE_UV_SELECT`. Add face flags then. Original patch is from @EitanSomething Differential revision: https://developer.blender.org/D6520
2020-01-08Fix T72667: Collection delete hierarchy in edit-mode crashesCampbell Barton
Also resolves T72848, although updating multiple windows doesn't work, this matches 2.7x behavior.
2020-01-08DNA: mark OrigSpace structs as run-timeCampbell Barton
2020-01-08Cleanup: mesh data headerCampbell Barton
This file had become disorganized, it wasn't clear which structs/flags were deprecated. - Add comments explaining what each struct is for. - Use doxy sections. - Remove outdated notes, unused flags. - Group custom-data. - Group deprecated structs in their own section. T
2020-01-08Fix T72919: NDOF 'Free' orbit preference is ignoredCampbell Barton
Regression from 6288dbffb6c1f.