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
2017-11-29Merge branch 'master' into blender2.8Sergey Sharybin
2017-11-29Cleanup: De-duplicate code in object update routinesSergey Sharybin
2017-11-29Cleanup: Split depsgraph uber transform function callbackSergey Sharybin
2017-11-29Cleanup: Remove unused argumentSergey Sharybin
2017-11-29Cleanup: Make object_handle_update easier to followSergey Sharybin
2017-11-29Merge branch 'master' into blender2.8Sergey Sharybin
2017-11-29Cleanup: Remove unused functionSergey Sharybin
2017-11-29Merge branch 'master' into blender2.8Sergey Sharybin
2017-11-29Transform: Avoid use of ob->recalc in snapping codeSergey Sharybin
Do a direct update of object transform instead, without involving manual trickery of recalc flag. Shouldn't be functional changes as far as artists are concerned, but will allow us to get rid of recalc flags in 2.8. Thanks Bastien for review!
2017-11-29Depsgraph: Remove object-specific flag which was storing update tagSergey Sharybin
There were following issues: - This was used in a similar way of DEG's ID update callback. No reason to have yet-another-way of informing editors/engines about changes. Better to keep regular update mechanism usable and fast for those needs. - It wasn't granular at all, and granularity in flags is something what we need to support anyway, even for existing ID update. - There is no reason to have it per-object. Depsgraph operates on IDs. - It wasn't clear when and who clears the flag, and was possible to run into conflicts.
2017-11-28Merge branch 'master' into blender2.8Bastien Montagne
2017-11-28Cleanup (remove commented OMP directive).Bastien Montagne
2017-11-28Cleanup: namingSergey Sharybin
2017-11-28Cleanup, naming of engine type variableSergey Sharybin
2017-11-28Depsgraph: Wrap context used for editors update callback into a structureSergey Sharybin
This way we can extend it much easier.
2017-11-28Depsgraph: Remove workaround for Blender Internal in viewportSergey Sharybin
This commit effectively reverts fix T45702 done in 067fe2719a99. Reasoning: - Blender Internal is being replaced with Eevee, and will be removed entirely rather soon. - All render engines are planned to have own depsgraph, so such threading conflicts should no longer be an issue. - We don't want to spend time on porting workarounds for EOL things to a new design. Less code -- faster the work :) - If such notifications will end up needed for some other cases, we would need to re-implement this a more proper depsgraph tagging/flushing and make it to work with all copy-on-write datablocks and everything.
2017-11-28Removing OMP: BKE's tracking_stabilize.Bastien Montagne
Again, 2 times quicker with BLI than with OMP (from about 5ms to 2.5ms per frame for the parallelized loop, on a rather small video...).
2017-11-27Fix T53291: Deleting objects do not delete them from the blend fileDalai Felinto
User count was wrong for newly created files. We increase/decrease user count when we link/delete objects from a SceneCollection. So we don't want to leave user count of 1 after calling BKE_libblock_alloc in BKE_object_add_only_object().
2017-11-27Merge branch 'master' into blender2.8Sergey Sharybin
2017-11-27Sequencer: Add option to render OpenGL preview with DoFSergey Sharybin
The title says it all actually, controlled with DoF check box next to textured solid check box. Thanks Campbell for review!
2017-11-27Refactor view3d offscreen drawing to avoid having multiple boolean argumentsSergey Sharybin
This is fully unreadable to have lots of boolean arguments scattered across the whole argument list. What does `false, true, true` mean in terms of behavior? Replace those with bitfield which has advantage of having more human readable meaning.
2017-11-27Tracking: Cleanup. make code friendly for multi-column editingSergey Sharybin
2017-11-26Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/editors/mask/mask_draw.c
2017-11-26Cleanup: ImageEditor's mask drawing code was re-implementing ↵Bastien Montagne
`BKE_maskrasterize_buffer`! So this deduplicates and simplifies code, yeah. Also, as an odd bonus, new code seems slighly quicker than previous one (about 5 to 10% quicker).
2017-11-26Removing OMP: BKE's mask_rasterize.cBastien Montagne
Once again nothing much to say here, except that whole mask rendering process from VSE is about 25% quicker now. ;)
2017-11-26Removing OMP: autotrack BKE code.Bastien Montagne
Pretty straightforward this time, we already have a single struct pointer containing all needed data (or nearly). And we gain about 10-15% speed on tracking! :)
2017-11-25Get workspace mode from the workspace view-layerJulian Eisel
While this probably isn't the final solution we'll go with, it's nicer as current one, which was basically broken. So consider this as temporary solution. It also allows testing how changing workspace changes mode & active object, but only by having the workspaces use different view-layers. Decided to remove WorkSpace.mode for now. If we need to bring it back, we'll have to version patch it anyway.
2017-11-24Depsgraph: make it more obvious who's view layer is being updatedSergey Sharybin
2017-11-24Depsgraph: Do log from newly base flag flush functionSergey Sharybin
2017-11-24Depsgraph: Correct wrong base_flags for objects coming from set sceneSergey Sharybin
2017-11-24Depsgraph: Flush flags from base to object as an evaluation stepSergey Sharybin
Previously it was done during depsgraph iteration, which is not good at all, since after evaluation nobody should really modify how object was evaluated.
2017-11-24Depsgraph: Use depsgraph to handle edit mode selectionSergey Sharybin
This is crucial bit since batch cache is stored in the evaluated object, meaning we can't tag it's hatch cache dirty from the notifier system. Not easily at least. Better to leave this job to depsgraph, it knows all the copies of data.
2017-11-23Cleanup: Rename ViewLayer *sl > ViewLayer *view_layerDalai Felinto
2017-11-23Merge branch 'master' into blender2.8Bastien Montagne
2017-11-23atomic_ops: add char versions of uint8_t atomic primitives.Bastien Montagne
2017-11-23Cleanup: use signed atomic ops when needed.Bastien Montagne
2017-11-23New view layers should be named "View Layer" (not Render Layer)Dalai Felinto
2017-11-23Rename any instance of scene layer or render layer in code with view layerDalai Felinto
The RenderResult struct still has a listbase of RenderLayer, but that's ok since this is strictly for rendering. * Subversion bump (to 2.80.2) * DNA low level doversion (renames) - only for .blend created since 2.80 started Note: We can't use DNA_struct_elem_find or get file version in init_structDNA, so we are manually iterating over the array of the SDNA elements instead. Note 2: This doversion change with renames can be reverted in a few months. But so far it's required for 2.8 files created between October 2016 and now. Reviewers: campbellbarton, sergey Differential Revision: https://developer.blender.org/D2927
2017-11-23Merge branch 'master' into blender2.8Campbell Barton
2017-11-23Use custom SWAP macro for swapping userdef dataCampbell Barton
Avoids complicating the common case
2017-11-22Merge branch 'master' into blender2.8Campbell Barton
2017-11-22Fix T53274: Saving template prefs overwrites default prefsCampbell Barton
2017-11-22Merge branch 'master' into blender2.8Sergey Sharybin
2017-11-22SceneRenderLayer Removal/RefactorDalai Felinto
This patch moves all the functionality previously in SceneRenderLayer to SceneLayer. If we want to rename some of these structs now would be a good time to do it, before they are in SceneLayer. Everything should be working, though I will test things further tomorrow. Once this is committed depsgraph can get rid of the workaround added in rna_Main_meshes_new_from_object and finish whatever this patch was preventing from being finished. This patch also adds a few placeholders for the overrides (samples, ...). These are obviously not working, so some unittests that rely on 'lay', and 'zmask' will fail. This patch does not addressed the change of moving samples to ViewRender (I have this as a separate patch and needs some separate discussion). Following next is the individual note of the individual parts that were committed. Note 1: It is up to Cycles to still get rid of exclude_layer internally. Note 2: Cycles still need to handle its own doversion for the use_layer_samples cases and (1) Remove the override as it is (2) Add a new override (scene.cycles.samples) if scene.cycles.use_layer_samples != IGNORE Respecting the expected behaviour when scene.cycles.use_layer_samples == BOUNDED. Note 3: Cycles still need to implement the per-object holdout (similar to how we do shadow catcher). Note 4: There are parts of the old (Blender Internal) rendering pipeline that is still using lay, e.g., in shi->lay. Honestly it will be easier to purge the entire Blender Internal code away instead of taking things from it bit by bit. Reviewers: sergey, campbellbarton, brecht Differential Revision: https://developer.blender.org/D2919
2017-11-22SceneRenderLayer > SceneLayer: Convert LayDalai Felinto
There are parts of the old (Blender Internal) rendering pipeline that is still using lay, e.g., in shi->lay. Honestly it will be easier to purge the entire Blender Internal code away instead of taking things from it bit by bit.
2017-11-22SceneRenderLayer > SceneLayer: Convert Z-MaskDalai Felinto
Note: Cycles still need to implement the per-object holdout (similar to how we do shadow catcher).
2017-11-22SceneRenderLayer > SceneLayer: Convert samples_overrideDalai Felinto
Note: Cycles still need to handle its own doversion for theses cases and (1) Remove the override as it is (2) Add a new override (scene.cycles.samples) if scene.cycles.use_layer_samples != IGNORE Respecting the expected behaviour when scene.cycles.use_layer_samples == BOUNDED.
2017-11-22SceneRenderLayer > SceneLayer: Convert material_overrideDalai Felinto
2017-11-22SceneRenderLayer > SceneLayer: Remove light_overrideDalai Felinto
2017-11-22WM: minor correction to user-pref writingCampbell Barton
When saving templates had wrong return value.