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-27Cleanup: header guard namesCampbell Barton
Missed in file rename.
2019-02-27Fix T61945: Scaling with invalid snap distancesSebastian Parborg
ApplySnapResize did not take into account invalid distances. Added check for this. Reviewed By: Campbell Barton Differential Revision: https://developer.blender.org/D4417
2019-02-27GP: Use unique names for instance objectsAntonioya
When instance objects linked, the name could not be unique.
2019-02-27GP: Check if Instance loop is neededAntonioya
This reduces the loop time if the scene is not using instances.
2019-02-27GP: Optimize Instances drawing loopAntonioya
2019-02-27Transform: refactor orientation naming and usasgeCampbell Barton
Transform orientation was previously related to constraints, recent changes meant it was used even when not constraining to an axis. Now transform orientation is separate from axis constraints.
2019-02-27Correct error in recent transform refactorCampbell Barton
2019-02-27DRW: disable wide edges when face-dots are usedCampbell Barton
Users who prefer to use face dot's don't get an advantage from drawing thicker wire. Requested by @ward
2019-02-27Cleanup: remove runtime structs from DNACampbell Barton
2019-02-27makesdna: enforce use of '_pad' naming conventionCampbell Barton
2019-02-27Cleanup: use '_pad' convention for padding in all DNA structsCampbell Barton
Avoids mixing these in with regular variables in code-completion. Use char for pad members except for 'void *', to make size clearer. Removed/shrink a few redundant padding vars which were >= 8 bytes.
2019-02-27Cleanup: remove runtime structs from DNACampbell Barton
2019-02-27Cleanup: remove unused Material.pr_lightCampbell Barton
Also no need for 14 bytes of padding.
2019-02-27Cleanup: file rename lamp -> lightCampbell Barton
2019-02-27Cleanup: rename lamp -> lightCampbell Barton
2019-02-27Cleanup: Main struct member namesCampbell Barton
Rename latt to lattice and don't use plural names.
2019-02-27DNA: rename Lamp -> LightCampbell Barton
- BKE_lamp -> BKE_light - Main.lamp -> light
2019-02-27Fix: Grease Pencil data panels not working with pinningDalai Felinto
Note: Things were working fine if you were to pin the Grease Pencil object, but not if you were pinning the GP data. In too many poll functions context.object was being requested when a simple context.gpencil_data would suffit. Panels that are still not showing in pinning: * DATA_PT_gpencil_display. The panel needs to be split in sub-panels, leaving all object-dependent properties in its own panel so we can poll it away, while showing the rest. * * * This commit doesn't handle greasepencil material. In this case I recommend we do as properties_material.py and have a generous poll(), followed by different drawing logics whether or not we have an object.
2019-02-26Grease Pencil: Strokes Cut iconDalai Felinto
The icon was there, but it was not in the Export collection, nor was it correctly named.
2019-02-26Grease Pencil: Silence warningDalai Felinto
2019-02-26Cleanup: use 'poly' for polygons-related data, not 'face'.Bastien Montagne
In Blender face is for tesselated faces, that kind of miss-naming is a pretty good way to shoot yourself in the foot at some point or another (see T61979)...
2019-02-26Fix T61979: Solidify not working in Blender 2.8.Bastien Montagne
Broken logic in rB181356edba04, thanks most likely to stupid naming (face in Blender is for tessellated faces, use poly for BMesh polygons). Cleanup to follow in next commit...
2019-02-26GP: Cleanup ToDo commentAntonioya
2019-02-26Fix T61956: Errors when instancing grease pencil objectsAntonioya
The problem was not only for instances, but for particles too, and produced segment fault. For some reason due any internal modification of how duplicated objects are generated, the duplicated object are not available when the draw manager try to use runtime data. Now, before drawing the particle or the instance, the pointers of the duplicated objects are reassigned to the original "real object" to get full access to runtime data.
2019-02-26UI: Move Pivot next to Orientation in headerWilliam Reynish
-The pivot point and orientation of any transform are strongly related -It matches the comma-key and period-key on the keyboard who are neighbours -We get slightly nicer grouping this way, with the two axis-related options on the left and the two toggles on the right Reviewers: pablovazquez, campbellbarton Differential Revision: https://developer.blender.org/D4413
2019-02-26Merge branch 'blender2.7'Brecht Van Lommel
2019-02-26Cleanup: prevent future issues with ID.tag overflow, clarify somes names.Brecht Van Lommel
2019-02-26Cleanup: remove unnecessary assert.Brecht Van Lommel
2019-02-26UI: IconsWilliam Reynish
New icons from Andrzej Ambroż / jendrzych: -New trash icon for deleting ID's and other data (currently unused) -New icon for the Grease Pencil select between strokes mode -New icon for Proportional Editing Root Falloff curve Also adjustments for Jump to Next / Prev. Keyframe, Camera ObData, Point Light ObData, Light Probe Object and ObData, Collection & Save icons.
2019-02-26UI: Show marker lines in remaining animation spacesJacques Lucke
This also includes fixed/slighly refactored drawing code for marker lines. The old code used the wrong height. Reviewers: brecht Differential Revision: https://developer.blender.org/D4411
2019-02-26GP: Redesign wireframe modeAntonioya
Now it's possible use the different Wire modes (Single, Object & Random) Also support for x-ray mode. For random colors, the name of the object and the name of the layer is used. Also some parameters cleanup.
2019-02-26GP: Draw: Stroke TrimCharlie Jolly
New edit mode operator and post-processing brush option. Trim works on a single GP stroke. It removes trailing points before and after the first intersection (or loop) nearest to the start of the stroke.
2019-02-26Cycles: Fix build errorRay Molenkamp
introduced by rBdabe5cd31add8aa55b9ad4bce1b591ed4e98f1a1
2019-02-26Fix (unreported): Snap to grid not considering Focal Length.mano-wii
2019-02-26Cycles: Fix build errorRay Molenkamp
introduced by rBdabe5cd31add8aa55b9ad4bce1b591ed4e98f1a1
2019-02-26Fix T61637: Edge extrude always uses normal orientationCampbell Barton
2019-02-26BLI_math: quat_to_axis_angle was zeroing the axisCampbell Barton
When there was no rotation the axis was zerod, while not exactly a bug, it means changing the angle does nothing and all axis-angle values are initialized with Y=1, use this convention when resetting the axis too.
2019-02-26Merge branch 'blender2.7'Jeroen Bakker
2019-02-26T61971: Compilation Displacement/Background KernelJeroen Bakker
Displacement and Background kernels are selectively used, but always compiled. This patch will not compile these kernels when they are not needed. Displacement kernel is only used for true displacement. Background kernel is only used when there is a (Cycles)Light of type `LIGHT_BACKGROUND`. Reviewed By: brecht, #cycles Tags: #cycles Maniphest Tasks: T61971 Differential Revision: https://developer.blender.org/D4412
2019-02-26Bevel mod: cleanup flags and extra data.Howard Trickey
Removed a clnors field unneeded after a recent refactor. Finished deprecation of flags that haven't been used since pre-bmesh.
2019-02-26Units: GP Canvas OffsetWilliam Reynish
Use PROP_TRANSLATION for this to make it correctly display units in the UI.
2019-02-26T61576: Do Not (Re-)Compile OpenCL kernelsJeroen Bakker
The goal of this patch is to have limit the number of times kernels needs to be compiled and are reused as kernels with different compile directives can lead to identical same binaries. The implementation does this by stripping the compile directives. and reshuffling kernels so the output is more likely to be the same. We focussed on the kernels where it was easy to detect and maintain (bundle, bake, displace, do_volume and background). More optimizations could be done but they are probably less obvious. Merged the data_init and state_buffer_size kernels to split_bundle. This patch will also remove empty kernels for do_volume and bake when their features are not enabled. When using the benchmark files there are less background, bake and do_volume kernels compiled. Fix: T61576, T61501, T61466 Reviewed By: brecht, #cycles Differential Revision: https://developer.blender.org/D4390
2019-02-26Cleanup: Spelling in commentSergey Sharybin
2019-02-26Depsgraph: Make parameters exit dependent on ID propertiesSergey Sharybin
2019-02-26Missed last commitCampbell Barton
2019-02-26Transform: fix rotate redo behaviorCampbell Barton
- Add XYZ option. - Orientation now works as expected. Now a redo for rotation works logically, setting the axis to Z & the orientation to view. Resolves T57205
2019-02-26Transform: don't set the user constraint when it's not setCampbell Barton
The orientation for the redo panel would be set even when not used, add an 'unset' orientation which defaults to global.
2019-02-26GP: Rename "Dualtone" to "Duotone"Antonioya
2019-02-26Fix indentation issue introduced in rB54ffc4e19dc4William Reynish
2019-02-26Fix T61965: Crash edit-mesh drawing w/ hidden facesCampbell Barton