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
2015-10-13Revert to master - those changes are globally valid, but remain incomplete,free-refcount-idsBastien Montagne
and total new code is being done in id-remap anyway, not worth bothering with this for now...
2015-09-30ID free: GP & particles...Bastien Montagne
2015-09-21Cleanup: use malloc when calloc is overwrittenCampbell Barton
2015-09-20Cleanup: Use new vector transform functionsJulian Eisel
2015-08-18Refactor translation code out of blenfontCampbell Barton
- Add blentranslation `BLT_*` module. - moved & split `BLF_translation.h` into (`BLT_translation.h`, `BLT_lang.h`). - moved `BLF_*_unifont` functions from `blf_translation.c` to new source file `blf_font_i18n.c`.
2015-08-06T44932: Disable pressure handling for "poly" mode tooJoshua Leung
2015-08-06StopGap Fix for T44932: Ignore pressure values when drawing straight line ↵Joshua Leung
segments with GPencil After some testing of the behaviour of this stuff, it became clear that the current pressure handling here isn't very useful. The initial point would invariably get a low pressure value (due to the way that the initial tap needs time to "take"), while the end of the stroke suffers from similar issues (i.e. when the pen is released). Meanwhile, the line thickness would flicker while drawing the stroke, as the endpoint pressure varied. So, until we find a better way, all straight line segments are now drawn without pressure sensitivity.
2015-08-04SCons: Fix for really nasty bug with polluting configuration environmentSergey Sharybin
The issue was caused by the following construction: def = env['SOMETHING'] defs.append('SOMETHING_MORE') Since first assignment was actually referencing environment option it was totally polluted hawing weird and wonderful side effects on all other areas of Blender.
2015-07-25Fix grease pencil selectionCampbell Barton
When zoomed in could int overflow and select the wrong vertex. also correct clipping check.
2015-07-05GPencil: use ctrl+x/del for dissolveCampbell Barton
Move dissolve into own operator (as with mesh/armature)
2015-06-22Fix T45133: Crash drawing material buttonsCampbell Barton
2015-06-20Cleanup: use listbase clearCampbell Barton
2015-05-21GPencil Eraser Size-Saving FixJoshua Leung
On second thought, the eraser size should be saved even if the brush type is not eraser, as we can toggle this now.
2015-05-21Fix T44774: Grease Pencil eraser size reset after exiting sessionJoshua Leung
Previously, it would only save the eraser size if the session ended properly, instead of being cancelled. However, that wouldn't happen if exiting the session using Esc.
2015-05-17Fix T44084 - Cursor gets reset after MMB scrolling in another area while in ↵Joshua Leung
GPencil Continous Draw Mode
2015-05-17Fix T44685 - In grease pencil stroke editing, selecting points is offset by ↵Joshua Leung
a few pixels The problem was that it was aborting too early after stumbling across a point which might fit within the bounds required. This commit improves the logic here to solve this and a few other little bugs like that. Disclaimer: There are still a few cases where it randomly ends up picking something way off. However, this only seems to occur very sporadically, so it's hard to say how bad the problem may be.
2015-05-04Cleanup: style & const'sCampbell Barton
2015-05-04Fix T29029: Grease pencil fails in Quad ViewCampbell Barton
2015-05-01Left some debug prints in here...Joshua Leung
2015-05-01Fix T43867: Clicking outside the viewport exits now Grease Pencil "Continous ↵Joshua Leung
Draw" mode When working with a pen only, it was previously impossible to exit Grease Pencil draw mode (when continous drawing was enabled). Now, clicking outside the drawing region (e.g. in the timeline, properties editor, or the header/properties/toolshelf regions) where you are drawing will exit this mode. Some corner cases to be aware of: * When Region Overlap is enabled, clicking on the overlapping panels still exits draw mode (even though you can see behind the buttons) * In the Nodes Editor, clicking on a node (while in drawmode) will still draw a dot/stroke. But, you can still exit drawmode by clicking on any of the panels (properties/toolshelf/header) mentioned earlier * To cope with cases where the operator is launched from the toolshelf, the code now sets a new "active region" when the first stroke is performed (based on what region is under the cursor at the time of that stroke), overwriting the setting that got stored when invoking the operator (i.e. the toolshelf). This change doesn't have any real user-visible effects, other than making it possible for this fix to actually work without breaking that use case.
2015-04-20Cleanup: use bool /w flag checksCampbell Barton
2015-04-20Fix: "show_points" setting for Grease Pencil drawing didn't workJoshua Leung
As reported by zeffi, the "show_points" option was not working in master. It probably broke recently, after some changes meant that the point sizes weren't geting set prior to drawing these points anymore. Since this was originally added as a debugging tool (though it is now somewhat redundant due to the stroke editing functionality, which uses/exposes the same points), this option wasn't really that important. I have decided to add back a toggle for this to the UI though, since it can be used for some interesting effects...
2015-04-16OpenGL does not like line thickness less than 1.0.Antony Riakiotakis
Check here is not completely correct either, we should check against GL_ALIASED_LINE_WIDTH_RANGE and GL_SMOOTH_LINE_WIDTH_RANGE
2015-04-15Cleanup: use const for event->tablet_dataCampbell Barton
2015-04-07Revert Sticky Keys (and everything related to that)Julian Eisel
Our current keymap doesn't give us enough room to make such changes in the event system. To fix small issues caused by this, we would need to do drastic changes in Blender's keymaps and internal handling. It was worth a try, but it didn't work. I can write down a more descriptive statement in a few days, but for now I need a break of this stuff.
2015-04-06Fix: Stroke Edit Mode warning for GPencil draws correctly with Region ↵Joshua Leung
Overlap enabled
2015-04-04WM: prefer define over zero wmEvent.valCampbell Barton
2015-04-04Fix T44259: Secondary strokes get terminated early when drawing in ↵Julian Eisel
Continuous Drawing mode
2015-04-03Sticky Keys backendJulian Eisel
Design task: T42339 Differential Revision: D840 Initial implementation proposal: T41867 Short description: With this we can distinguish between holding and tabbing a key. Useful is this if we want to assign to operators to a single shortcut. If two operators are assigned to one shortcut, we call this a sticky key. More info is accessible through the design task and the diff. A few people that were involved with this: * Sean Olson for stressing me with this burden ;) - It is his enthusiasm that pushed me forward to get this done * Campbell and Antony for the code and design review * Ton for the design review * All the other people that gave feedback on the patch and helped to make this possible A big "Thank You" for you all!
2015-04-02Cleanup: Make strict flags happySergey Sharybin
We might also just remove those arguments perhaps?
2015-04-02GPencil: Draw status indicator in top-right corner when in Stroke Edit ModeJoshua Leung
When in Stroke Edit Mode, an indicator/warning message is now shown in the top-right corner to make it easier to notice that operations will apply to Grease Pencil strokes instead.
2015-04-02GPencil: H/Shift-H/Alt-H now work to Hide and Reveal Layers in Strokes Edit ModeJoshua Leung
* H = Hide active layer * Shift-H = Hide non-active layers * Alt-H = Show all layers
2015-04-02Code Cleanup: Pruning back the unusued includes nowJoshua Leung
2015-04-02Code Cleanup: Reshuffling some of the GPencil codeJoshua Leung
* Moved the context handling stuff into gpencil_utils.c * Moved the datablock and layer operators out into their own file too. Again, these weren't related to the other stuff that much * Split the GPencil to Curves operator out into its own file (gpencil_convert.c). This was quite a massive blob of code (48kb) that was not that related to the other operators still in that file (gpencil_edit.c)
2015-03-27Cleanup: gpencil headersCampbell Barton
2015-03-10Fix T43941: Grease pencil eraser outline vanishesCampbell Barton
2015-02-21GPencil: Another fix for the "big square dots" problemJoshua Leung
Strokes containing only a single point are now drawn so that they respect the pressure values too. Previously, they were getting drawn at a fixed size based on the thickness of strokes. Thanks to @kekeljevic for posting a screenshot which made the problem here easy to identify! (On a side note: Perhaps it's a combination of the drivers I'm using, or the multisampling goodness at work, but after applying this change, the dots are now appearing as round circles as originally intended, and can also be scaled up quite a bit too. And that's for 3D points which couldn't be affected like this earlier! I'm not sure what's going on here, but whatever it is, I like it ;)
2015-02-19RNA: pass only 0/1 to RNA_property_boolean_setCampbell Barton
2015-02-18GPencil Fix: Added checks to ensure that copy/paste doesn't paste ↵Joshua Leung
incompatible strokes There was a problem with the copy/paste functionality, where it would be possible to paste 3d strokes into 2D editors, or 2D strokes into the 3D view. The problem with that though is that these will not show up, and because there's no feedback at the time, users may end up doing this pasting several times.
2015-02-17GPencil: On the fly switching between Drawing and Erasing when using ↵Joshua Leung
"Continuous Drawing" It is now possible to switch between drawing and erasing strokes when in the modal "Continous Drawing" sessions. This makes the drawing experience just a little more fluid, saving some unncessary steps to get out of the editing mode to activate the intended tool. TODO: Is there interest for tablet support for this too?
2015-02-12GPencil: Alt-S can now be used to adjust the pressure values (i.e. ↵Joshua Leung
thickness) of strokes
2015-02-12GPencil: LKEY can now be used for Select Linked too nowJoshua Leung
2015-02-11Fix T43149: Grease Pencil fill areas look divided by multiples ray linesJoshua Leung
The problem here was caused by the usage of GL_POLYGON_SMOOTH (thanks Campbell for the help tracking this down!). Apparently the issue is that this option ends up doing some nasty accumulation with whatever is in the framebuffer for each *tesselated* polygon (instead of the whole polygon as intended/expected). ** IMPORTANT USER NOTES ** With the removal of this option, filled areas and volumetric strokes will now have jagged edges again. To resolve these artifacts, it is necessary to enable Viewport Multisampling (found in the User Preferences, under the System tab), and restart Blender to see the effects of this change.
2015-02-10Fix grease-pencil crash without clip/track dataCampbell Barton
2015-02-04Fix T43552: Cannot jump between GP keyframes in dopesheetJoshua Leung
2015-01-26Cleanup: strcmp/strncmp -> STREQ/STREQLEN (in boolean usage).Bastien Montagne
Makes usage of those funcs much more clear, we even had mixed '!strcmp(foo, bar)' and 'strcmp(foo, bar) == 0' in several places...
2015-01-19Bugfix T43293: Crash when editing shared GPencil datablock in VSEJoshua Leung
The problem here was that when a Grease Pencil datablock is shared between the 3D view and another one of the editors, all the strokes were getting handled by the editing operators, even if those strokes could not be displayed/used in that context. As a result, the coordinate conversion methods would fail, as some of the needed data would not be set. The fix here involves not including any offending strokes in such cases...
2015-01-19GPencil: Added asserts for checking when trying to convert coordinates for ↵Joshua Leung
invalid stroke types (for current editor) Added for checking on the cause of T43293, and to aid in setting up a fix to remedy the situation.
2015-01-10GPencil Editing: FKEY now controls the eraser size when in Stroke Edit ModeJoshua Leung
2015-01-10Fix: Delkey didn't activate the Grease Pencil strokes delete operator like ↵Joshua Leung
XKEY does