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
2019-07-24Use fixed lighting, don't make it rotate with view rotationJulian Eisel
2019-07-24Fix broken VR viewport rotation and movementJulian Eisel
2019-07-24Use draw manager offscreen context for the VR sessionJulian Eisel
This way we avoid the big overhead of context switches. Makes frames render about twice as fast here. For heavy Spring scenes I'm getting around 20 FPS here, classroom scene is at 50 FPS. This is great given that drawing itself still isn't optimized for dual eye rendering.
2019-07-23Add --debug-xr-time command line option for VR frame time info printsJulian Eisel
Outputs frame render time in milliseconds and FPS this time would add up to. We could average times so FPS is a bit more stable, but the precision of un-averaged results may be helpful too.
2019-07-23Merge branch 'master' into soc-2019-openxrJulian Eisel
2019-07-22Incompatible usage of the Collada transparency valueGaia Clary
Some external tools seem to have issues with the definition of Collada <transparency> - a float value in range (0,1). However it is possible to use the <transparent> color as a container for the <transparency> value. This seems to be a more reliable method to export transparency values from Blender PBSDF Shaders. The relevant documentation is in the collada 1.14 reference manual, page 7-5 about the usage of transparent and transparency. This fix makes export and import of the <transparency> and <transparent> values more convenient and more reliable. Reviewers: brecht, jesterking Reviewed By: brecht Differential Revision: https://developer.blender.org/D5305
2019-07-22Fix missing subversion bump for 2.80 release.Bastien Montagne
We need a final subversion bump before release in case there are remaining 'unversioned' code in our versionning callbacks... Should have been done before first RC actually. ;) To be ported to 2.80 release branch.
2019-07-22Bevel modifier: let it work on wire edges when vertex_only.Howard Trickey
2019-07-22fix unreported: typo in python documentationGaia Clary
Fix as approved by dr.sybren in blender chat
2019-07-21Revert "Fix T67040: Undo crashes after renaming"Brecht Van Lommel
This reverts commit c635663e4a8169f68010b9234fa60f17ad03d7cb. This is causing crashes with sculpt mode and object mode switching. Fixes T67217.
2019-07-21Fix troubling memory leak in offscreen viewport drawingJulian Eisel
I'm not really sure why the leak happened - draw manager kept allocating certain buffers - but I figured I could avoid it by not recreating GPU_offscreen/GPU_viewport on every redraw. This should also improve performance a bit.
2019-07-20Pure OpenGL backend works now, let it take priority over DirectXJulian Eisel
2019-07-20Fix T67196: bevel bad at a 3-edge bevel.Howard Trickey
The test for whether or not this was a "pipe" neglected to use fabsf() around a dot result.
2019-07-19Fix assert in some cases when using DataTransfer modifier for custom normals.Bastien Montagne
Reported by @sybren on IRC, thanks. Should be safe for 2.80.
2019-07-19GPencil: Fix wrong material when apply Opacity, Hue or Tint modifierAntonioya
When apply the modifier a new material is created, but it was assigned wrongly. The problem was the index was base 0 already, so subtract 1, got a wrong value.
2019-07-19Fix T67033 EEVEE: Random Flickering MaterialsClément Foucault
This was a read after free error. This only fix the undefined behavior. The result is still not correct in certain cases (see T67226). We want to include this for 2.80
2019-07-19Fix new Text ID usercount handling in add/load cases.Bastien Montagne
Text datablocks should always have a 'single user' flag set, and they usually do not have any user (since neither text editor itself, nor Freestyle usage are text users - the second is odd btw...), the only one am aware of is the script node (e.g. for OSL). Add text case was simply not doing anything, so added. Load text case was doing things in inversed logic (setting user count to zero in BKE, then setting 'real user' flag in ED code). Made it the other way around (BKE ID creation code should not care about usercount usually, this is up to higher-level code to decide what to do (operators, RNA...). Note: tried to check all cases, but there might very well be some more hidden bugs here...
2019-07-19Revert "Fix assert unlinking text"Bastien Montagne
This reverts commit b0b2546d4a3a308da19d218d919915aac4834e59. Please do not sweept the dirt under the carpet like that! If there is a bug, either report it or fix it, but do not silence it!
2019-07-19Cleanup messed-up comment formating from codestyle apply...Bastien Montagne
2019-07-19Fix T67191: Redo fails for 3D text operationsCampbell Barton
2019-07-19Fix T63090: Delete keyframe reports invalid for multiple objectsCampbell Barton
2019-07-19DRW: lattice vertices were too smallCampbell Barton
2019-07-19Fix T66492: Divide by zero with cursor to selectedSebastian Parborg
2019-07-18Fix T67062: Movie Clip Editor does not update Editor Type when changing ↵Sebastian Parborg
Editing Context Previously when switching modes, the code didn't check if we were in the correct view for the masking mode. Reviewed By: Sergey Differential Revision: http://developer.blender.org/D5288
2019-07-18Fix context menu Remove Shortcut not being available for non-keyboard shortcutsBrecht Van Lommel
2019-07-18Disable b-bone spline gizmo for nowCampbell Barton
This wasn't working properly and needs to be finished, disable for release.
2019-07-18Fix T66811 Eevee: Flickering in weight paint modeClément Foucault
This was caused by TAA offset being computed as the 2nd sample even if the sampling was reset afterwards. The fix is to update the matrices after any potential reset.
2019-07-18Fix edit-mode particle vertex draw sizeCampbell Barton
Vertices were hard to see, draw the same size as edit-mesh vertices.
2019-07-18Fix T58447: Unselected bone used for constraint targetCampbell Barton
2019-07-18Cleanup: remove redundant preference checkCampbell Barton
Missing from f2df5206987f6, harmless but confusing to leave in checks for preferences having asked to skip them.
2019-07-18Fix T67105: Missing Update Add Camera Background ImageJeroen Bakker
Reviewed By: brecht, sergey Differential Revision: https://developer.blender.org/D5284
2019-07-18Fix T66949: Can't select bones from multiple objects in wpaint modeCampbell Barton
This fix relies on 2.7x logic, only de-selecting other armature objects, making multiple armatures in weight paint mode usable.
2019-07-18Fix weight-paint & pose-select & lock-mode combinationCampbell Barton
Extend pose object checks to all pose-mode objects used by the mesh.
2019-07-18Fix weight paint mode setting with multiple armaturesCampbell Barton
Selecting multiple armature objects and entering weight paint mode wasn't working. Entering weight + pose modes at once was only done when object mode locking was enabled. Now it's done even when mode-locking is off - because it's still inconvenient to setup and useful default behavior. Resolves issues raised by T66949
2019-07-18Fix T61117: Selecting an armature doesn't select the boneCampbell Barton
Regression from 2.7x caused by 28dfc47cf0b06
2019-07-18Fix pose de-selection when selecting from object modeCampbell Barton
2019-07-18Revert "Fix T66949: Can't select bones from multiple objects in wpaint mode"Campbell Barton
This reverts commit 9e9fbb39d7f9e0a63c71fbc96237ace62fae0db6. Adding back object+pose bone selection support removes the need for this fix.
2019-07-18Fix T66948: Outliner - collections/objects with wrong active stateDalai Felinto
If the parent collection was out of view we were not taking its properties into consideration. We need it even when not drawing the parent to set active/inactive values for its children. Related Task: T66948 Reviewers: brecht Subscribers: Zachman Differential Revision: https://developer.blender.org/D5272
2019-07-18Fix T64312: Selection inconsistencies when switching collectionsDalai Felinto
Basically layer_collection_sync was calling BKE_base_eval_flags right away while iterating over the bases. However when a parent/sibling collection is to influence the collection flag of an object that exists in more than one collection, it is too late since we deselect the object in BKE_base_eval_flags right away. Related to T64312. Reviewers: sergey, brecht Differential Revision: https://developer.blender.org/D5243
2019-07-17GPencil: Fix usability problem with curve control points apartCharlie Jolly
Based on feedback from @matiasmendio There was a problem with the control points because it was very difficult to know what point move. Now the points are moved apart and makes easy to know what point use.
2019-07-17Fix T66515, T67112, T61607: failure to read EXR files with single, named layerBrecht Van Lommel
Like Blender renders without a Z channel. The single layer case assume that channel names are just R/G/B/A without any layer name prefix, and would not read channels like "Image.R". Carefully tested for regressions with the openexr project tests images, so this should be safe.
2019-07-17Fix T59713: Armature layer dots not updated on changesmano-wii
`layer_used` runtime data, which controls the drawing of dots in the UI was not getting refreshed properly. This used to happen in the drawing code, but was no longer working for reasons explained in: {rB2b09062defa093a243b5fe64b099accb07b440a3} The solution was to update each layer manually in the operators: * ARMATURE_OT_bone_primitive_add * ARMATURE_OT_delete * ARMATURE_OT_dissolve * ARMATURE_OT_fill * ARMATURE_OT_merge * ARMATURE_OT_separate * ARMATURE_OT_bone_layers * POSE_OT_bone_layers Differential Revision: https://developer.blender.org/D5281
2019-07-17Fix T66919: Force field does not affect particlesSergey Sharybin
Reviewers: brecht Reviewed By: brecht Maniphest Tasks: T66919 Differential Revision: https://developer.blender.org/D5275
2019-07-17Fix T67075: make object.visible_get() and similar APIs more forgivingBrecht Van Lommel
When objects are not in the view layer, just return false rather than throwing an error. As far as the script is concerned the object is not visible or selected when it's not in the current view layer.
2019-07-17Fix T67099: entering color picker hex value #FF results in 1.000001Brecht Van Lommel
2019-07-17Fix T67127: Crash Missing DEG tag update mask layerJeroen Bakker
When ng mask layer operations (add, remove, move) the original mask was not tagged to be updated resulting in missing data on the copy. The Masking function assumes that the copy and the original is always structured the same. Reviewed By: brecht, sergey Differential Revision: https://developer.blender.org/D5283
2019-07-17Clip editor: Fix missing frame update on undoSergey Sharybin
It is possible that undo will change current scene frame and that was not synchronizing current frame from scene to movie clip user. Reported as a part of T66519. Reviewers: brecht Reviewed By: brecht Maniphest Tasks: T66519 Differential Revision: https://developer.blender.org/D5280
2019-07-17Revert "Fix T59713: Moving bones between layers in edit mode doesn't show ↵mano-wii
the dot icon in the layers UI" This commit did not follow the protocol that requires a review first. This reverts commit 580acab1737c726f43e39792dbb75f3ca2089fcb.
2019-07-17Fix DirectX context not freed on session exitJulian Eisel
Also rename XrSurfaceData to wmXrSurfaceData
2019-07-17Fix T59713: Moving bones between layers in edit mode doesn't show the dot ↵mano-wii
icon in the layers UI