Commit Graph

49420 Commits

Author SHA1 Message Date
Campbell Barton
652eaf7723 Fix for mesh-inset modifying hidden faces 2014-09-10 16:02:24 +10:00
Campbell Barton
384220eeab Partial fix T41749
2d & 3d cached text now draws pixel aligned now.
2014-09-10 15:01:39 +10:00
Campbell Barton
ad0790f14e Partial fix for T41749
Tool-tips and header-text used a different pixel alignment from the rest of the UI.
This causes blurry text with multi-sample with NVidia.

Other text still needs the issue resolved (View3d info for eg)
2014-09-10 13:38:09 +10:00
Campbell Barton
1b94b3d49c WM: Add utility wmOrtho2_*** funcs
Currently there are inconsistencies with pixel alignment.
but this commit has no functional changes.

- wmOrtho2_region_ui for UI/Text.
- wmOrtho2_region_pixelspace for 2D drawing.
- wmOrtho2_pixelspace - when the region isn't used.
2014-09-10 13:37:53 +10:00
Campbell Barton
95db507eff Curve: Remove assert in BKE_curve_bevelList_make
Failed on any cyclic poly line.
2014-09-10 10:48:01 +10:00
Bastien Montagne
17f120e76c Usual UI messages fixes... 2014-09-09 19:55:11 +02:00
Campbell Barton
3ac70665b0 Fix crash reading ParticleEdit.is_editable 2014-09-09 22:07:55 +10:00
Campbell Barton
1abcbe775b Fix T41445: Inset creates separated UV's 2014-09-09 18:54:50 +10:00
Campbell Barton
03c889683a Cleanup: const correctness, no change to generated code. 2014-09-09 17:17:57 +10:00
Campbell Barton
e18906bda2 remove invalid comments 2014-09-09 12:21:28 +10:00
Campbell Barton
3c00efcf69 Warn when --engine arg isn't found 2014-09-09 01:44:41 +10:00
Campbell Barton
ae99764385 CMake: Add missing WITH_OPENIMAGEIO define 2014-09-09 01:44:41 +10:00
Sergey Sharybin
8837bb297b Fix crash happening with external engines and dependent objects in an invisible layers 2014-09-08 20:36:40 +06:00
Bastien Montagne
b1490e39dd Fix T41744: Hidden keymap properties uneditable
For UI & operator toolbar this makes sense,
but for keymaps - hidden props can make an important difference.
2014-09-08 21:25:03 +10:00
Bastien Montagne
876ccc8373 Fix T41573: Compositing reroute converts floats to red color
At compo level, only skip data type conversion if both ends of a link do not require it.

Thanks to Lukas for advices and review.
2014-09-08 12:28:51 +02:00
Bastien Montagne
9c19ad1f79 Fix T41703: Blender crashes trying to load character file.
Core of the issue is that pointcache handling in depsgraph were (re-) tagging
for update some objects on hidden layers, when all their dependencies remained
untag.

Since we do not want to update objects on hidden layers, take this data into account
when flushing pointcache.

Investigations and org patch by self, reviews, advices and final patch by sergey, many thanks! :)
2014-09-08 11:49:55 +02:00
Campbell Barton
5850ee0a6a Fix T41746: WPaint: gradient+mirror fails 2014-09-08 18:03:44 +10:00
Campbell Barton
4e732b9860 Fix building as Python module (manpage-generation) 2014-09-08 11:22:40 +10:00
Andrea Weikert
3fec3f0bce Fix T41737 using append from menu will result in error message
message in terminal was: RNA_boolean_get: WM_OT_append.relative_path not found.
Added check for existence of the relative path property which was removed from append
since it is not needed and used.
2014-09-07 16:05:44 +02:00
Bastien Montagne
65da19b0cd Fix T41740: Different behaviour of custom hotkey
Quick fix, this is actually a demonstration of why we should use modal keymaps!
We can give any event to *start* the op, but then hard-code how to *end* it... tsk.
2014-09-07 14:45:05 +02:00
Bastien Montagne
3a47c1a9d3 Fix T40507: Blender Internal Render's Gather don't use node's emit color.
Node was simply ignored by occ shading (noted as TODO), though it's a mere matter
of a very few lines of code, nowadays... Just copied from similar task in bake code.
2014-09-06 22:50:31 +02:00
Bastien Montagne
e44c49d89d Py Mathutils: add invert_safe() and inverted_safe() to Matrix.
Those two mimic our BLI invert_m4_m4_safe - they add a small offset to diagonal values,
in case org matrix is degenerated, and if still non-invertible, return identity matrix.

Org patch by me, final enhanced version by ideasman42, many thanks!
2014-09-06 14:58:38 +02:00
Campbell Barton
1083da4bde Fix T41730: Knife Cut fails on concave faces 2014-09-06 18:39:59 +10:00
Campbell Barton
f7945c659b Knife: remove redundant allocations 2014-09-06 18:39:59 +10:00
Campbell Barton
671f75a12a Math Lib: Add copy_m2_m2, unit_m2, zero_m2 2014-09-06 11:29:27 +10:00
Campbell Barton
7971e441c1 Knife: no need to find the face-loops
Just check if verts are used in the face.
2014-09-06 11:28:06 +10:00
Antony Riakiotakis
d5fa1f8a52 Cleanup:
Move projection paint data ensure function to projective texture
painting. Also, cleanup draw data when generating a new image for
painting in image paint mode.
2014-09-05 15:48:45 +02:00
Antony Riakiotakis
91006d5a7a Fix T41723, different tints in texture painting.
Blend brush color with texture before converting to srgb
2014-09-05 15:48:45 +02:00
Sergey Sharybin
5a8644bd97 Fix T41721: Muting render layer input nodes has no effect 2014-09-05 16:02:20 +06:00
Martijn Berger
4776d80aaa Disable msvc runtime fma3 use in an attempt to fix msvc 2013 + windows 7 issues.
MS report:
https://connect.microsoft.com/VisualStudio/feedback/details/811093
2014-09-05 11:09:54 +02:00
Campbell Barton
220fcd43a9 Fix uninitialized variable use 2014-09-05 11:00:52 +10:00
Campbell Barton
a7f87cfc0d Cleanup: de-duplicate link/append props 2014-09-05 10:16:11 +10:00
Antony Riakiotakis
1871c08160 Fix T41716, crash with image mode when painting without materials.
* As always, make sure all slots of the object have a material
2014-09-04 20:23:03 +02:00
Antony Riakiotakis
84a7a578e2 Fix T41715 fill tools not respecting alpha lock 2014-09-04 20:04:16 +02:00
Andrea Weikert
61914883ff Separate operators for Link and Append.
Since the choice to link or append has been removed in the file browser operator panel,
there was no way to tell whether as a user you were linking or appending.
To fix this the proposed patch separates the operators.

Reviewers: campbellbarton, carter2422, venomgfx

Subscribers: fsiddi

Maniphest Tasks: T41593

Differential Revision: https://developer.blender.org/D770
2014-09-04 19:35:18 +02:00
Antony Riakiotakis
1fb50c5ca7 Attempt to solve T41708,
Refresh always when clicking on a palette color (state here may be same
as state of button, not causing a refresh as it should)
2014-09-04 17:21:01 +02:00
Antony Riakiotakis
a1578f08dc Metastrips: disallow making a metastrip with only one strip present. 2014-09-04 16:59:30 +02:00
Bastien Montagne
9c95fd0a98 Fix T41713: Lattice - Influence vertexgroup in curve modifier gets ignored
This was never implemented, actually... Was also the occasion to rework a bit
`curve_deform_verts()`, code there was sometimes needlessly complicated and slowish
(like getting weight from dm vertex per vertex, instead of whole array at once...).
2014-09-04 16:43:52 +02:00
Bastien Montagne
3af9015139 Fix related to previous commit: do not store panels (state, position, etc.) in default startup.
In this case, we want to use defaults as defined by UI code (among other, from order of registering),
there is no point in storing those data in factory startup.
2014-09-04 15:06:24 +02:00
Bastien Montagne
bf54ed0c7c Fix T41704: 2.71.6 no longer reading user ui panel arrangement from earlier saved blend files.
This reverts rB52c06440d8e51c8661a679bcb33742666ce8dbf9 and rBe40d8258bb46926a1aecf51236822532397993f3
(tabname is old 2.4x tabed panels system, *not* new 2.7x tool tabs!).

Also disabled (#idef'ed) everything regarding tabname/tabed panels for now, we may even remove it completely,
would make things clearer imho.

Note files saved with 2.71.6 up till now would have two versions of some panels in store (with two different
values for their tabname), can give some order oddities in those cases, which have to be fixed by hand...
2014-09-04 15:06:24 +02:00
Campbell Barton
15d39eaac1 Write Compressed blend files directly
Writing compressed files would write the uncompressed blend, then re-compress on-disk.

Use a wrapper for open/write/close commands
2014-09-04 21:54:24 +10:00
Campbell Barton
5e3b63a22b Fix T41463: Mirror Modifier breaks Automatic-Weights in weight-paint mode
The problem was it used copied verts on the opposite side.
2014-09-04 17:53:10 +10:00
Campbell Barton
94f35ecf1b Fix setting Curve-handle type moving the wrong one
Issue noted in T35952, now if you convert a free handle to an aligned handle,
it will move the selected handle.
2014-09-04 16:14:02 +10:00
Campbell Barton
bbf2db82a2 Fix View3D 'Auto Keying' alignment (when dpi!=72) 2014-09-04 15:56:40 +10:00
Campbell Barton
4987eb4dc9 Fix T35952: Switching a single handle to free would lock the others alignment 2014-09-04 15:43:21 +10:00
Campbell Barton
ca8d026fef Fix T40595: File broken after "make local->all" 2014-09-04 14:14:42 +10:00
Campbell Barton
c6b96c241b Vert-rip left an invalid selection with (>1 verts)
Now report the error and fail early.
2014-09-04 12:15:52 +10:00
Antony Riakiotakis
c5a2c08dd9 Code cleanup, defined shared stroke properties to one central function. 2014-09-03 14:09:05 +02:00
Antony Riakiotakis
728687c571 Texture painting:
Free draw objects instead of tagging object update and doing
recalculation of derived meshes. The reason is that if user deletes all
slots and tries to paint, the system will invalidate the cached in
projection painting derivedmesh. This will promptly crash. Invalidating
the draw objects only is also much cheaper.
2014-09-03 12:14:09 +02:00
Antony Riakiotakis
16dc208ef6 Expose "select all strips to left/right" in the select menu.
Shortcut is ctrl click but might not be discoverable, as we found out
the hard way on gooseberry.
2014-09-03 11:18:44 +02:00