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-01-08Typo fixesJoshua Leung
2018-12-28GP: Rename GP_STROKE_RECALC_CACHE to GP_STROKE_RECALC_GEOMETRYAntonioya
The GP_STROKE_RECALC_CACHE identifier was changed to GP_STROKE_RECALC_GEOMETRY because the previous name was confusing and could be confused with the recalculation of the Draw Manager cache.
2018-12-18Fix T59519: Grease Pencil stroke with noise modifier crashes blenderAntonioya
The first point index was wrong calculated.
2018-12-16Fix T59446: Grease pencil mirror modifier wrongAntonioya
The mirror was working different to mesh mirror and the result was not the expected.
2018-12-07Depsgraph: Remove duplicated sets of recalc/update flagsSergey Sharybin
There were at least three copies of those: - OB_RECALC* family of flags, which are rudiment of an old dependency graph system. - PSYS_RECALC* which were used by old dependency graph system as a separate set since the graph itself did not handle particle systems. - DEG_TAG_* which was used to tag IDs. Now there is a single set, which defines what can be tagged and queried for an update. It also has some aggregate flags to make queries simpler. Lets once and for all solve the madness of those flags, stick to a single set, which will not overlap with anything or require any extra conversion. Technically, shouldn't be measurable user difference, but some of the agregate flags for few dependency graph components did change. Fixes T58632: Particle don't update rotation settings
2018-11-20GP: Refactor drawing engine to single VBOAntonioya
This is part of T57829. Reduce the number of batches used to only one by shader type. This reduces GPU overhead and increase a lot the FPS. As the number of batches is small, the time to allocate and free memory was reduced in 90% or more. Also the code has been simplified and all batch management has been removed because this is not necessary. Now, all shading groups are created after all vertex buffer data for all strokes has been created using DRW_shgroup_call_range_add(). All batch cache data has been moved to the Object runtime struct and not as before where some parts (derived data) were saved inside GPD datablock. For particles, now the code is faster and cleaner and gets better FPS. Thanks to Clément Foucault for his help and advices to improve speed.
2018-11-17GP: Set Thickness default to 2Antonioya
New modifiers have thsi default value.
2018-11-06GP: Fix Time Offset for frames before rangeAntonioya
2018-11-06GP: Rename variableAntonioya
2018-11-05GP: Limit internally Time offset to something logicAntonioya
If the offset is greater than frame range, the offset could gets some unlogic values, so now the value is normalized in the range.
2018-11-05GP: More tweaks to Time OffsetAntonioya
2018-11-05GP: Fix Time Offset bug when use rangeAntonioya
The frames greater than frame range were wrongly calculated.
2018-11-04GP: Time Offset verify range if loop is disabledAntonioya
2018-11-03GP: Fix Time Offset when range frame is 0Antonioya
2018-11-03GP: New Time Offset custom frame range parametersAntonioya
These parameters allow to define a frame range for the animation loop and make possible to loop a section while the scene is playing.
2018-10-31Cleanup: indentationCampbell Barton
2018-10-29Cleanup: styleCampbell Barton
2018-10-28GP: Refactor Instance modifier and rename to ArrayAntonioya
The old name Instance was logic when the modifier created new object instances, but now works equal to mesh Array modifier, so the old name was not logic and must be Array. Also added a Object to use as offset similar to mesh Array modifier.
2018-10-24GP: Fix compiler warningsAntonioya
2018-10-24GP: Add new Layer Pass Index filter to modifiersAntonioya
Now the modifier can be filtered using the new layer index. Also changed panels to put layers and passes filter always at the end of the panel.
2018-10-24GP: Add layer pass index to time modifierAntonioya
2018-10-24GP: Add new modes to Time Offset modifierAntonioya
2018-10-23GP: Add new frame scale parameter to Time modifierAntonioya
This new parameter allows to increase or decrease the animation speed to break animation patterns when reuse data blocks.
2018-10-23GP: Rename modifier Time to Time OffsetAntonioya
2018-10-23Cleanup: style, warningCampbell Barton
2018-10-22Fix build after recent changes, filename must have right case.Brecht Van Lommel
2018-10-22GP: New Time modifierAntonioya
This modifier allows to offset the keyframe animated to get more variations in the animation when reuse the same datablock.
2018-09-29GP: Fix Thickness modifier error for strokes with few pointsAntonioya
2018-09-29GP: New parameters for instance modifier: Material and On TopAntonioya
Now it's possible to define what material is used in the generated strokes and if the strokes are put in front of the original (default) or keep the original in front. Before, the generated strokes have been always on top of the original because they were drawn later.
2018-09-28GPencil: Avoid tautology assignmentSergey Sharybin
This is considered a warning which is usually promoted to error in developers' environment. Probably worth adding an assert or so, if possible?
2018-09-26GP: Check weight data before using itAntonioya
2018-09-25Fix T56917: GP noise modifier vertex group crashAntonioya
2018-09-19GP: Verify weight data is correct before assigningAntonioya
2018-09-19GP: Fix crash when select vertex group in modifiersAntonioya
2018-09-19Merge branch 'master' into blender2.8Campbell Barton
2018-09-02Cleanup: styleCampbell Barton
2018-08-30GP: New Armature modifier and tools to handle weightsAntonioya
This commit adds a new armature modifier for grease pencil. The deformations are done reusing the mesh deform routines. There is also a new operator in weight paint mode to help the artist to generate weights base on armatures. This operator is required because 2D animation workflow is not equal to meshes when parent an object to armatures. In the drawing engine has been added the option to handle the Fade object parameter used in armatures to see the strokes while move the bones. When rename bones, all related data of grease pencil is renamed too. This not only affect new armature code, but also layers parented and hook modifiers. Thanks @aligorith for his review and help.
2018-08-30GP: Improve Subdivide and SimplifyAntonioya
Now the weights are managed in the operators. The subdivide operator and modifier code have been replaced with a shared function. Some cleanup also.
2018-08-28GP: Revert replace custom function by standard APIAntonioya
Using custom api breaks material at object level
2018-08-28Cleanup: indentationCampbell Barton
2018-08-28GP: Replace custom function by standard APIAntonioya
Replace BKE_gpencil_get_material_index by BKE_object_material_slot_find_index
2018-08-27Cleanup: rename 'vindex' to 'def_nr'Campbell Barton
Name hinted 'vertex index', where it's the index of the vertex group.
2018-08-27GP: replace custom API w/ BKE_deform APICampbell Barton
2018-08-26GP: Reduce weight paint data memory footprintAntonioya
Before, the weight data array was created always, but now only is added when a weight value is assigned. This change was suggested by algorithm, and both agreed it was good idea.
2018-08-22Cleanup: styleCampbell Barton
2018-08-15GP: Redesign logic of drawing engine for object instance supportAntonioya
The initial design assumed that there was only one object for each unique name, but that was not the case when instances were created. Now, instances are supported and speed has been greatly improved when repetitions are used. As a result of this change, the option to create objects has been removed in the Instances modifier. This option was strange and was also against Blender's design rules, since a modifier should never create objects. The old functionality of the modifier can be achieved with instances. Also, several memory leakage problems that were not previously detected have been eliminated, and especially in the grid and in the drawing process Onion Skin is not supported in multi-user datablocks. Support this, makes incompatible with instances. We need find a solution in the long term, but now it's better keep disabled and make instances work. Anyway, the new instances makes unnecessary to use muli-user datablocks.
2018-08-10Cleanup: styleCampbell Barton
2018-08-09GP: Add option to select color affected in modifiersCharlie Jolly
Now it's possible to define if the Tint, Hue and OPacity modifier affect the stroke color, fill color or both.
2018-08-09GP: Undo incorrect modification in previous commitAntonioya
2018-08-08GP: Fix modifiers Tint, Opacity and Hue and create materials to OpacityAntonioya
Thanks to Charlie Jolly (mistajolly@gmail.com) for his patch D3586 that added create materials to opacity modifier. I had to do some more changes to get all running.