Age | Commit message (Collapse) | Author |
|
|
|
Hit a case here where rect pointer was not NULL, when h & w were both zero...
Shall not happen, but better not crash on such cases!
|
|
|
|
edge vector stack was left un-cleared.
|
|
|
|
3rd fix for silly exception conversion!
|
|
|
|
Internal EXR API specifically avoids freeing non-file streams.
|
|
|
|
The string may have many '|' characters, only the last is clipped.
|
|
|
|
|
|
Simplify logic and use realloc
|
|
Would crash trying to access outside the 3D view.
|
|
|
|
Exposed when checking on T44871
|
|
|
|
Also, changed the algorithm for generating the vertex meshes when not all
edges into a vertex are beveled. Now it tries to slide along edges that
form part of the silhouette when possible; when not possible, it tries
to snap to the best plane in between the beveled edges.
|
|
|
|
|
|
Related to T44688, note supporting this case isn't so nice,
but seems it can be made to work.
|
|
|
|
changes
Also improved a bit behavior of adding new nodes, now they will not overlap that
badly. Still not ideal, but further improvements better not to happen at bcon4.
|
|
|
|
|
|
|
|
|
|
- label is shown on a UI_UNIT_Y heigh instead of 0.2 * total button size
- vertically centering non-ID previews labels
- making some constants dependent on ui units
|
|
- elongate the buttons to acomodate the icon without the label overlapping.
- removing the blue background
- adding a consistent margin all around the popup
|
|
|
|
Invalid thumbnails (missing mtime metadata) are to be re-generated, not ignored!
|
|
We have to regenerate previews when we change language. But we also need to do it
when translation is changed or added for a language, etc.
Previously, we were storing one preview per language, which was also stuffing
preview dir with (potentially) tens of PNGs per font file, if user plays with translations.
Now we use a better system, which is storing an additional optional metadata in previews
(some hexdigest), that Blender can use in addition to datetime to decide when to regenerate
previews.
This is only used (and needed) by font previews so far, but can easily be reused for other
types of previews if needed.
|
|
have not enough chars in current font.
This avoids some ugly 'missing char' in previews - not all cases of course, but most common ones.
A complete solution would be much much more involved, and probably not worth it here.
Definitively not before a release, at least!
|
|
Was copying new layer colors to old layer colors.
|
|
We cannot `direct_link_packedfile()` twice on a same address, because this tries to
map again pf->data address, which leads to nothing (NULL).
So now, since `ima->packedfile` and `ima->packedfiles` are mutually exclusive
in 'live' blender data anyway, we either read one or the other.
Tested from/to official 2.74 and current master, everything looks fine now.
|
|
Add support for walk mode /w absolute pointing devices.
|
|
|
|
It was possible to perform actions while performing a drag-toggle.
|
|
|
|
Also correct over alloc and redundant alloc.
|
|
If an operator starts outside an area, don't use warping.
(problematic for menu's).
|
|
|
|
rBe5fbeba0b3a6e9eea not only restored forward compat, it also broke backward compat...
for no reason at all even, exising ima->packedfile is only used by read/versionning
code if .blend version is below 274.4 (i.e. no multi-image packing exists).
|
|
This patch adds some new functionality to the Freestyle Python API, notably:
- MaterialBP1D, checks whether the supplied arguments have the same material
- Fixes a potential crash in CurvePoint.fedge (due to NULL pointer)
- Makes (error handling in) boolean predicates more robust
- Adds a BoundingBox type, to make working with bounding boxes easier
- Adds several new functions (get_object_name, get_strokes, is_poly_clockwise, material_from_fedge)
- Adds a StrokeCollector StrokeShader, that collects all the strokes from a specific call to Operators.create()
- Adds hashing and rich comparison to the FrsMaterial type
These new features (most of them, anyway) are needed for making a more robust SVG exporter that supports holes in fills.
Reviewers: kjym3, campbellbarton
Subscribers: campbellbarton
Projects: #bf_blender
Differential Revision: https://developer.blender.org/D1245
|
|
Also minor cleanup
|
|
|
|
misunderstanding)
|
|
Caused entering an invalid number to leak.
|
|
|
|
|