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
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-18Cleanup: conform headers to have license firstCampbell Barton
Also remove doxy comments for licenses and add missing GPL header.
2019-02-17Units: allow short unit names be case sensitive when needed.Brecht Van Lommel
To distinguish mW and MW without having to deviate from the standard SI unit abbreviation. For all other units there are no changes.
2019-02-17Units: add support for light power units in Watt. Use for Eevee lights.Brecht Van Lommel
This affects point, spot and area lights. Sun light strength remains without a unit. This change does not affect .blend file compatibility in any way, as with the rest of the unit system it's purely a display and editing feature. Not used for Cycles yet, that will be done after unifying the settings with Eevee.
2019-02-17DNA: rename dup_* struct members to instance_*Campbell Barton
2019-02-17Cleanup: rename Mesh.edit_btmesh -> edit_meshCampbell Barton
When bmesh was in a branch we had both edit_mesh and edit_btmesh, now there is no reason to use this odd name.
2019-02-17Cleanup: move object bounding-box into runtime structCampbell Barton
2019-02-16Cleanup: rename SPACE_IPO -> SPACE_GRAPHCampbell Barton
2019-02-16DNA: rename near/far -> clip_start/clip_endCampbell Barton
Rename for Camera, View3D (also CameraParams & Render not DNA)
2019-02-16DNA: rename SpaceButs -> SpacePropertiesCampbell Barton
2019-02-16DNA: rename SpaceIpo -> SpaceGraphCampbell Barton
2019-02-16DNA: rename SpaceOops -> SpaceOutlinerCampbell Barton
2019-02-16DNA: rename camera YF_dofdist -> dof_distanceCampbell Barton
2019-02-15Add global control over disabling high-resolution smoke drawSergey Sharybin
Can be found in the viewport's simplify panel, allows to easily disable high-res display for all the smokes in the scene.
2019-02-15Cleanup: More obvious name for the flagSergey Sharybin
Not sure what BIG is, it is HIGH RESOLUTION.
2019-02-15Cleanup: Naming, BKE prefixSergey Sharybin
Done for smoke functions. Smoke modifier functions seems an oddballs here, but probably also to be renamed.
2019-02-15Fix T61567: Object loose its rigid body data when moving to collectionDalai Felinto
At some I unified the "move to collection" with the remove from all collections functionality. That meant that even when we were still to keep the object in one of the collections we would clear its rigid body data. Now why to even remove the rigidbody data when removing an object from all collections? That mimics the 2.79 behaviour when we were to unlink an object from a scene. I suspect it has to do with the rigid body data being tied to the scene rigid body. Which is a strange design anyways (add to the list?) since an object can be in more than one scene.
2019-02-14GP: Don't activate Fill for new materialsAntonioya
As the fill color alpha is set to zero, it's better keep fill option disabled.
2019-02-14Cleanup: replace Main ID's foreach functions by macros.Bastien Montagne
Am really no a big fan of using macros for that kind of things, but meh... C solution to do that with functions (using callbacks) is even worse. :(
2019-02-14Fix T61353: Crash converting a curve to a meshCampbell Barton
This was caused by curves pointing to each other creating a cyclic dependency. While the dependency graph detects this, generating a mesh for render recursively generates data which cashes in this case. Add in a check to detect cyclic links. Note, this bug exists in 2.7x too - but only crashes on render since 2.7x didn't use 'for_render' when converting data.
2019-02-13Fix NodeTree types UI messages not being properly tagged for translation.Bastien Montagne
Probably fix first part of T61446.
2019-02-13Fix T61515: Crash when unloading a scene with pynodes and idprop of type id.Bastien Montagne
Usual legacy/history crap in NodeTree code... Datablocks's specific freeing code should never, ever do refcounting management, this is handled by higher-level code from BKE_library area.
2019-02-13Cleanup: do not cleanup runtime data twice during ID copying...Bastien Montagne
More or less same code was being executed twice during ID copying. Makes no sense to add yet another switch-by-ID-type to handle specificaly runtime data during ID copying, we already have BKE_xxx_copy_data() functions for that.
2019-02-13I18N Messages: fix confusion with Light meanings.Bastien Montagne
Using ID_LIGHT or ID_ID for "Lamp" meaning, "Light" without context being for 'not heavy'. That rename of data-block was not really nice on that side of things :/ Related to T43295.
2019-02-12Cleanup: rename `BLT_I18NCONTEXT_ID_LAMP` -> `BLT_I18NCONTEXT_ID_LIGHT`.Bastien Montagne
2019-02-12Fix T61469: wrong object statistics when using instances.Brecht Van Lommel
The new code already loops over all instances, don't need to be counted again.
2019-02-12Fix T60999: Duplifaced objects are not drawn in edit modeSergey Sharybin
Seems to be rather trivial change to use proper cage mesh nowadays.
2019-02-12Use direct access to evaluated mesh from instancingSergey Sharybin
It is supposed to be already evaluated. If for some reason it's not doing such direct evaluation will not be reliable anyway (indirect dependencies for example). This fixes an assert part of T61431.
2019-02-11Fix T61391: MeshDeform Modifier does not work on a solidified planar mesh.Bastien Montagne
`BKE_modifier_get_evaluated_mesh_from_evaluated_object()` used by modifiers needing access to other objects' geometry probably skipped out of the radar when cage and final evaluated meshes were added to BMEditMesh? In any case, we do not need to duplicate (and then free!) a temp mesh from editdata anymore, and we can even add instead a parameter to get cage instead of final. Also makes modifiers code a bit simpler.
2019-02-11Cleanup: commentsCampbell Barton
2019-02-11Cleanup: use "_Runtime" suffix for DNACampbell Barton
Was done everywhere except bPoseChannel.
2019-02-11DNA: remove Object.display structCampbell Barton
We have a display flag already, use it instead. Object.display is kept in RNA, exposed via a nested struct, we can move other display options there.
2019-02-11Cleanup: comment indentation & spellingCampbell Barton
2019-02-10Fix T61141: Append Particle Settings doesn't append the collection properly.Bastien Montagne
ParticleSettings' duplicollection is now a proper refcounting user of its collection, which will avoid losing it on save/reload.
2019-02-09Cleanup: Use ID_IS_LINKED instead of id.libDalai Felinto
2019-02-09BKE_object: add util to count number of scenes using an object.Bastien Montagne
Issue is, ob->id.us is not relevant anymore here, since several collection might be referencing it inside of a same scene, that is still only one usage from user perspective... Note that for now we are just counting scenes instantiating an object, time will say wether we need more refined/complete check (as a reminder, most [all?] other Object usages are *not* refcounting ones).
2019-02-09Outliner visibility: Prevent changing linked objects and collectionsDalai Felinto
We still change their base/layer collection visibility, just not what would change the original ID datablock.
2019-02-08Fix (unreported) crash when undoing after ID deletion.Bastien Montagne
Yes, we do can undo an ID deletion now. However, this requires extra care in UI 'remapping' to new IDs step (when undoing, we do not fully reload the UI from saved .blend). Otherwise, new UI (i.e. one from saved .blend file) might reference IDs that where freed in old bmain (the one before the undo), we cannot use those to get ID name then, that would be a nasty use-after-free! To prevent this, we generate a GSet of all valid ID pointers at that time (i.e. those found in both old and new Main's), and ensure any ID we try to remap by its name is in that GSet. Otherwise, there is no possible remapping, just return NULL.
2019-02-08BKE_main: add a util to generate/extend a GSet with all ID pointers of a ↵Bastien Montagne
Main database.
2019-02-08BKE_idcode: Add utils to convert from 'lbarray' index to ID type.Bastien Montagne
This can be useful to be able to match some random array data with ListBase array of IDs generated by `set_listbasepointers()`.
2019-02-08Fix T61255: Mesh Data Transfer: Do not abort when destination has not all ↵Bastien Montagne
source data layers. Originally, when transferring all source data layers to destination meshes, code would abort in case destination did not have all needed layers, and creating them was not allowed. Now, it will instead transfer data to layers that exists, merely skipping source ones for which it cannot find a matching destination.
2019-02-08Cleanup: rename V3D_MANIP_* -> V3D_ORIENT_*Campbell Barton
Wasn't obvious it's related to orientation, also term manipulator is no longer in use.
2019-02-07Cleanup: Use new BKE_main_foreach_id() in a few more places...Bastien Montagne
2019-02-07BKE_main: add utils to loop over whole IDs of a given Main database.Bastien Montagne
We are currently having the same boiler plate code in tens of places accross our code, we can as well have a utils to do that.
2019-02-07Show all useful metadata fields in editorsSergey Sharybin
Is available when doing "View -> Show Metadata". Will draw all the fields which are not part of the stamp at the bottom of the image. Couple of hand-picked fields are ignored, since those are not very useful to be seen. Aimed to ease review of rendered shots. Reviewers: brecht Reviewed By: brecht Subscribers: fsiddi Differential Revision: https://developer.blender.org/D4316
2019-02-07Cleanup: remove unnecessary undo functionCampbell Barton
2019-02-06Fix refresh on resetting header alignmentCampbell Barton
2019-02-06Remove no-longer needed functionDalai Felinto
2019-02-06Fixup for outliner visibility not changing disable stateDalai Felinto
Show Inside (shift + click) was still forcing objects to be visible.
2019-02-06Outliner visibility: Respect original viewport enable/disable stateDalai Felinto
Note: We still change it to the collection we are directly isolating/making visible and its parents (in the case of isolating). But no longer its children. Feedback and discussion on D4011. The motivation is that if we don't keep those locked the disable state becomes useless.