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-29Eevee: Stop depsgraph update callback form allocating unneeded memorySergey Sharybin
2017-11-29Draw manager: Cleanup, namingSergey Sharybin
Similar to previous commit in Eevee.
2017-11-29Eevee: Cleanup, namingSergey Sharybin
For functions which will allocate requested data if it does not exist yet "_ensure" is to be used instead of "_get". "_get" functions should return NULL in cases when requested data does not exist yet.
2017-11-29Draw manager: Cleanup, indentation in preprocessorSergey Sharybin
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-29Draw manager: Listen to depsgraph's ID update callbacksSergey Sharybin
This replaces dedicated flag which wasn't clean who sets it and who clears it, and which was also trying to re-implement existing functionality in a way. Flushing is not currently very efficient but there are ways to speed this up a lot, but needs more investigation.
2017-11-29Eevee: Set engine data needs update to false when everything is up to dateSergey Sharybin
Currently this shouldn't cause any differences, but is required for the upcoming changes in informing draw engines about changes.
2017-11-29Merge branch 'master' into blender2.8Campbell Barton
2017-11-29Cleanup: Python importsCampbell Barton
Split over lines to diff more easily.
2017-11-29Merge branch 'master' into blender2.8Campbell Barton
2017-11-29PyAPI: add function to check any mathutils typeCampbell Barton
Also add CheckExact versions of type checking macros.
2017-11-29RNA: remove paranoid NULL checkCampbell Barton
Was added as part of D2666.
2017-11-29Merge branch 'master' into blender2.8Campbell Barton
2017-11-29RNA: sync API changes from 2.8Campbell Barton
2017-11-29RNA: Allow structs to define tags for their propertiesJulian Eisel
Adds support for defining a number of tags as part of the rna-struct definition, which its properties can set similar to property-flags. BPY supports setting these tags when defining custom properties too. * To define tags for a struct (which its properties can use then), define the tags in an `EnumPropertyItem` array, and assign them to the struct using `RNA_def_struct_property_tags(...)`. * To set tags for an RNA-property in C, use the new `RNA_def_property_tags(...)`. * To set tags for an RNA-property in Python, use the newly added tags parameter. E.g. `bpy.props.FloatProperty(name="Some Float", tags={'SOME_TAG', 'ANOTHER_TAG'})`.
2017-11-29Merge branch 'master' into blender2.8Campbell Barton
2017-11-29PyAPI: PyC_Err_PrintWithFunc utility functionCampbell Barton
Move function error printing utility into py_capi_utils.
2017-11-28Depsgraph: Fix Camera object showing when not in view layerDalai Felinto
If the Scene->camera was not in the active view layer we would still see it in the viewport.
2017-11-28Eevee: Fix T53413: Crash when using displacement bump relink.Clément Foucault
ntree_shader_relink_displacement is creating a transient node that does not have a correct original to point to. In this case we revert to constant uniform.
2017-11-28Draw manager: Pass explicit context to DEG scene update callbackSergey Sharybin
This way it is more clear what is needed to be passed and what is available in the callback itself. Thanks Dalai for review and tips about engine type!
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-28Audaspace: Fix -Wreorder warningSergey Sharybin
Makes building less noisy, helps catching real introduced warnings/errors. @xeXyon, mind having a look here and possibly apply to upstream? :)
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-28Depsgraph: Don't call DEG ID update functions directlySergey Sharybin
There might be much more logic involved there, also we might not know proper evaluated CoW pointer there yet. So we leave this to dependency graph to decide what exactly to do here.
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-28Merge branch 'master' into blender2.8Campbell Barton
2017-11-28makesdna/makesrna: silence output by defaultCampbell Barton
No need to print status for basic & reliable operations, build systems can output operations they run if needed, or debug output changed in the source if developers are debugging. Nice for ninja, so any printed text hints at a problem to fix.
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-27Fixing alembic unittest after render layer purgeDalai Felinto
2017-11-27Fix T53145: bevel tool does not start with amount at zero.Brecht Van Lommel
2017-11-27Depsgraph: Parameters component does exist in objectsSergey Sharybin
2017-11-27Merge branch 'master' into blender2.8Sergey Sharybin
2017-11-27Cleanup: indentationSergey Sharybin
2017-11-27Remove workaround for loopcut and DM stabilitySergey Sharybin
Neither me nor Campbell could redo the issue, lets get rid of this workaround and fix it properly if still needed.
2017-11-27Depsgraph: Sanitize placement of component types in switch statementSergey Sharybin
Makes it more clear why and what is being ignored.
2017-11-27Merge branch 'master' into blender2.8Sergey Sharybin
2017-11-27Depsgraph: Make sure unexpected configuration does not happenSergey Sharybin
2017-11-27Merge branch 'master' into blender2.8Sergey Sharybin
2017-11-27Sequencer: Fix missing FX compositor when starting rendering from frame with ↵Sergey Sharybin
DoF disabled
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-27WM: don't change selection on workspace appendCampbell Barton
2017-11-27Tool System: show manipulators at startupCampbell Barton
Support duplicating, switching workspaces too.
2017-11-27Fix crash duplicating workspaceCampbell Barton