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
2018-11-25Merge branch 'master' into blender2.8Campbell Barton
2018-11-24Fix T56374, T57066, T58037: crash on startup on macOS when using translation.Brecht Van Lommel
2018-11-24Fix random color drawing having similar colors for similar names.Brecht Van Lommel
2018-11-24Fix T58022: Changing workspace may change layout of User Pref windowJulian Eisel
Logic to update child windows on workspace changes should simply ignore temporary child windows. Users opened those for a specific purpose (i.e. edit user preferences or show render result). Blender should not come in and repurpose it.
2018-11-24refactor: Collada reorganize class constructorsGaia Clary
- Class constructors without body (only attribute initialisations) can safely be kept in the class header files - Constructor variables should be initialized in the order of their definition in the header files This change is also aimed to remove a couple of build warnings from the linux builds.
2018-11-23Depsgraph: add a new operation node for computing B-Bone segments.Alexander Gavrilov
Computing the shape of a B-Bone is a quite expensive operation, and there are multiple constraints that can access this information in a variety of useful ways. This means computing the shape once per bone and saving it is good for performance. Since the shape may depend on the position of up to two other bones, often in a "cyclic" manner, this computation has to be a separate node with its own dependencies. Reviewers: sergey Differential Revision: https://developer.blender.org/D3975
2018-11-23fix: Collada: used wrong Enumeration type for comparisonGaia Clary
2018-11-23fix: collada: must use case sensitive filename in includeGaia Clary
2018-11-23fix: Collada: use reference to BezTriple instead of copyGaia Clary
2018-11-23fix: compiler errors on mac_x86_64_10_9Gaia Clary
2018-11-23cleanup: Collada: remove unused variablesGaia Clary
2018-11-23Pass viewport to BASE_ related tests, for viewport view/select restrictionsDalai Felinto
Note: functions like select all are still not respecting that. I will fix this as part of the local view commit though.
2018-11-23DRW: Make non Mesh object wire show in edit modeClément Foucault
2018-11-23DRW: Support Wireframe for metaball objectsClément Foucault
2018-11-23GP: Avoid crash when adding new layerAntonioya
2018-11-23Icons: add Select tool icon.Brecht Van Lommel
2018-11-23Partial rewrite of the Collada Module for Blender 2.8Gaia Clary
Most important changes are in the Animation exporter and Animation Importer. There is still some cleaning up to be done. But the Exporter/Importer basically work within Blender 2.8 Some details: User Interface: The interface has been reorganized to look more like the FBX interface. New options in user interface: * keep_keyframes: When sampling the distance between 2 keyframes is defined by the sampling rate. Furthermore the keyframes defined in the FCurves are not exported. However when this option is enabled then also the defined keyframes will be added to the exported fcurves * keep_smooth_curves: When sampling we do not use FCurves. So we also have no Curve handles for smooth exporting. However when this option is enabled, Blender does its best to recreate the handles for export. This is a very experimental feature and it is know to break when: - the exported animated objects have parent inverse matrices different from the unit matrix - The exported objects have negative scaling There may be many other situations when this feature breaks. This needs to be further tested. It may be removed later or replaced by something less wonky. BlenderContext: is a new class that contains the bridge to Blender. It contains pointers to the current export/import context plus derived values of Depsgraph, Scene, Main Reporting: I reorganized the output on the Blender Console to become more informative and more readable Preservation of Item names: name attributes are now encoded with XML entities. This makes sure that i can export/import names exactly defined in the tool. This affects material names, bone names and object names. Hierarchy export: * Object and Bone Hierarchies are now exported correctly by taking the Blender parent/child hierarchy into account * Export also not selected intermediate objects Problem: When we export an Object Hierarchy, then we must export all elements of the hierarchy to maintain the transforms. This is especially important when exporting animated objects, because the animation curves are exported as relative curves based on the parent-child hierarchy. If an intermediate animated object is missing then the exported animation breaks. Solution: If the "Selected" Optioon is enabled, then take care to also export all objects which are not selected and hidden, but which are parents of selected objects. Node Based Material Importer (wip): Added basic support for Materials with diffuse color and diffuse textures. More properties (opacity, emission) need changes in the used shader. Note: Materials are all constructed by using the principled BSDF shader. Animation Exporter: * Massive optimization of the Animation Bake tool (Animation Sampler). Instead of sampling each fcurve separately, i now sample all exported fcurves simultaneously. So i avoid many (many!) scene updates during animation export. * Add support for Continuous Acceleration (Fcurve handles) This allows us to create smoother FCurves during importing Collada Animation curves. Possibly this should become an option ionstead of a fixed import feature. * Add support for sampling curves (to bake animations) * The animation sampler now can be used for any animation curve. Before the sampler only looked at curves which are supported by Standard Collada 1.4. However the Collada exporter currently ignores all animation curves which are not covered by the 1.4.1 Collada Standards. There is still some room for improvements here (work in progres) Known issues: * Some exports do currently not work reliably, among those are the camera animations, material animations and light animations those animations will be added back next (work in progres) * Exporting animation curves with keyframes (and tangents) sometimes results in odd curves (when parent inverse matrix is involved) This needs to be checked in more depth (probably it can not be solved). * Export of "all animations in scene" is disabled because the Collada Importer can not handle this reliably at the moment (work in progres). * Support for Animation Clip export Added one extra level to the exported animations such that now all scene animations are enclosed: <Animation name="id_name(ob)_Action"> <Animation>...</Animation> ... </Animation> Animation Importer: * Import of animations for objects with multiple materials When importing multiple materials for one object, the imported material animation curves have all been assigned to the first material in the object. Error handling (wip): The Importer was a bit confused as it sometimes ignored fatal parsing errors and continued to import. I did my best to unconfuse it, but i believe that this needs to be tested more. Refactoring: update : move generation of effect id names into own function update : adjust importer/exporter for no longer supported HEMI lights cleanup: Removed no lopnger existing attribute from the exporter presets cleanup: Removed not needed Context attribute from DocumentExporter fix : Avoid duplicate deletion of temporary items cleanup: fixed indentation and white space issues update : Make BCAnimation class more self contained cleanup: Renamed classes, updated comments for better reading cleanup: Moved static class functions to collada_utils cleanup: Moved typedefs to more intuitive locations cleanup: indentation and class method declarations cleanup: Removed no longer needed methods update : Moved Classes into separate files cleanup: Added comments cleanup: take care of name conventions ... : many more small changes, not helpful to list them all
2018-11-23Fix T57996: Crash - delete node with a driven parameterSergey Sharybin
2018-11-23Tag relations for update when clip's animation changesSergey Sharybin
2018-11-23Return truth when animation fix changed animationSergey Sharybin
This can be used to inform higher level modules that animation is changed and that dependency graph likely requires relations update now.
2018-11-23DRW: Support Wireframe for cruve/surface/text objectsClément Foucault
2018-11-23Add missing COW updates when selection changes in paint modes.Alexander Gavrilov
2018-11-23Use default movie cache size of 4GiBSergey Sharybin
2018-11-23Python API: restore bpy.app.autoexec_fail variables, some scripts use it.Brecht Van Lommel
2018-11-23Fix T57616: Deleting particle system instance object leads to crashSergey Sharybin
Explicitly tag copy-on-write form library remap. Previously, this tag was used implicitly via geometry/transform tagging, which worked ok for objects. For non-objects we do need to ensure all copies has correct pointer and the only way to do so is to pass tag explicitly. There is probably more places in the library remap where this is needed, but not being familiar with the code makes it difficult to spot where possible tags are missing.
2018-11-23Python API: bpy.app.handlers.depsgraph_update_pre/postJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D3978
2018-11-23UI: initialize drag-lock x/y axis from region typeCampbell Barton
When dragging in a vertical or horizontal region, there is no need to detect the drag axis. Gives minor usability improvement for dragging over vertical tabs.
2018-11-23Correct missing NULL check in recent changesCampbell Barton
2018-11-23Fix uv lasso/box multi-object select logicCampbell Barton
Was de-selecting all UV's on each iteration.
2018-11-23Tool System: uv lasso/box select optionsCampbell Barton
These tools now support (new, add, subtract), (xor, and) could be supported but are complicated by UV's sticky selection modes.
2018-11-23Error in last commiCampbell Barton
2018-11-23Fix wire-toggle restoring previous shading modeCampbell Barton
2018-11-23Keymap: add Keymap.keymap_items.new_from_itemCampbell Barton
Needed to copy keymap items from other keymaps.
2018-11-23Cleanup: rename bone-select to xrayCampbell Barton
This shows bones in font and uses the xray toggle binding. Also 'bone select' isn't very meaningful on it's own.
2018-11-23Pose: make pose-bone xray usable in wpaint modeCampbell Barton
Update UI, draw-manager and operator to support with pose-bone-xray when in weight paint mode.
2018-11-23UI: allow inaccurate swipe motion to switch tabsCampbell Barton
Removes the need to keep your cursor over tabs while dragging.
2018-11-23Fix for weight paint object occluding pose bonesCampbell Barton
This makes it so weight paint + pose mode can't switch to other weight paint objects.
2018-11-23Pose: support wpaint+pose w/ object-lock enabledCampbell Barton
Mode locking made it nearly impossible to enter wpaint + object mode. Now enter pose mode when entering wpaint mode when the pose object is selected.
2018-11-23Fix bone selection w/ mixed wpaint & pose modeCampbell Barton
2018-11-22Cleanup: newlines in error printsCampbell Barton
2018-11-22UI: fix wrong icons after recent update.Brecht Van Lommel
This cleans up old icon .data files that were still hanging around, but not in the SVG anymore.
2018-11-22UI: activate tabs immediately on press, and drag to quickly cycle through.Brecht Van Lommel
2018-11-22Fix T55535: N panel in sequencer breaks display of preview.Brecht Van Lommel
This preview region should not have been part of region overlap.
2018-11-22Image Empties: Potential Fix for T57696Clément Foucault
So far this makes a new pass for image empties that does not write to the depth buffer. Todo: - Sort empties using `DRW_pass_sort_shgroup_z`. - Calculate correct bounding boxes. - fix bounding box memory leak. Reviewers: fclem Differential Revision: https://developer.blender.org/D3922
2018-11-22Fix T57980: Assert failure in draw manager when opening fileClément Foucault
2018-11-22Cleanup: Use proper module prefix in function namesSergey Sharybin
2018-11-22GP: Keep activated the same Brush in toolbarAntonioya
2018-11-22Depsgraph: Ensure solver cleanup orderSergey Sharybin
Ensure that pose cleanup is never run before all IK solvers are finished.
2018-11-22Depsgraph: Cleanup, line wrappingSergey Sharybin
2018-11-22Fix missing newline in error printSergey Sharybin