Commit Graph

47594 Commits

Author SHA1 Message Date
db32e6c4f7 Fix T39795: Crash when duplicate f-curve keyframe, individual origins
Seems to be just missing case for center point initialization in td.

Thanks Campbell for review!
2014-04-30 18:20:39 +06:00
1b9feb04ab Fix T38245: Render slot buffer gets deleted in compositor when input is an image
This was more like a TODO than a bug, but wasn't difficult to support.

Need to backup image slots before doing re-compo in nodes editor.

If something breaks, lease poke me!
2014-04-30 18:13:49 +06:00
6ab3a2f8a4 Change naming slightly, it conflicts with DrawText function define on
windows on MinGW
2014-04-30 11:57:12 +03:00
7829ef0051 Report when saving images and text
also fix bug where text saving would strip last newline
2014-04-30 21:43:11 +10:00
3803c646d8 Changes to cache line display in image editor
Only show it when having active mask or when current image
is a sequence or movie.
2014-04-30 17:40:02 +06:00
1760763bec Frame cursor color was missing for the image editor 2014-04-30 17:40:02 +06:00
d2032d0dfe Fix T39931: Crash generating thumbnails (error in escaping) 2014-04-30 20:44:52 +10:00
fe29f92030 Fix T39953: Float data images display trash in image editor
Was a failure of optimization trick.
2014-04-30 16:26:20 +06:00
cdc5d6537f BGE: Fixing a memory leak from the recent physics changes. 2014-04-29 23:53:19 -07:00
3150925ae8 Partially revert ef3eb7adc6
The .exe extension *is* needed on Windows for makesrna, contray to the
patch author's protestations otherwise. Omitting it breaks compilation
on mingw at least (i.e. "rename()" fails). Thanks to "PerfectionCat"
for narrowing down this bug.

makesdna on the other hand still seems to work ok from a quick test I did.
Unless more issues crop up, just reverting this part of the patch should
be ok, though IMO these changes were unnecessary in the first place.
2014-04-30 14:58:06 +12:00
31a7be8ed7 Spelling fixes 2014-04-30 14:30:22 +12:00
863352dfdc Correct issue with IMB_ispic returning bool 2014-04-30 10:43:46 +10:00
32e02302a7 Fix T39933: Link/Append Scenes misses VSE mask, clips 2014-04-30 09:46:26 +10:00
1f4cfb3974 Fix T39952: Printing tiles gives negative numbers 2014-04-30 09:34:37 +10:00
313d62df70 Get the edit-object when keying and checking editmode 2014-04-30 08:28:09 +10:00
48446870a8 Code cleanup: remove redundant CTX calls 2014-04-30 08:11:47 +10:00
cdaff06026 Fix T38905: view3d.object_as_camera didn't store the last-view 2014-04-30 07:34:33 +10:00
7e9a873a44 View3D: disable entering camera when enabling quad-view
This is annoying/distracting especially if your view is just where you want it,
also entering camera view is easy if you need.
2014-04-30 06:23:49 +10:00
23b4e246e3 Remove link from Link/Append UI, since we have 2 menu items 2014-04-30 05:09:22 +10:00
27591458aa Correct own regression drawing lamp outline 2014-04-30 04:52:31 +10:00
d71db08f6d Fix 39065: Leaving QuadView lost view settings
Now the 'User' view is used when exiting quadview.
2014-04-30 03:55:37 +10:00
4be837f192 Code cleanup: remove unused grease pencil pointer 2014-04-30 03:31:36 +10:00
1ef06abc5e Fix T39947: Aligned handle behaviour problem in graph editor
Error in recent change to handle behavior
2014-04-30 02:43:55 +10:00
8db84225bd Fix T31605: rotate around selection ignores numpad 2014-04-30 02:16:01 +10:00
d30988bbf1 Code cleanup: avoid sin/cos calls when drawing sun lamp 2014-04-30 02:12:11 +10:00
2322f37678 reduced minimum value for NDOF sensitivity to better fit the space navigator 2014-04-29 16:30:38 +02:00
6edcff4fd2 Fix for nurbs surface merge didn't update key index 2014-04-29 19:56:15 +06:00
d36795a11e Fix issue discovered in soc-paint-2013 branch.
Weights do not need perspective correction since they are calculated on
flat triangle coordinates. Only pixel coordinates, reprojected from the
weights need this.

This was already fixed for clone brushes but in
soc-2013-paint where we have stencil preview, it is apparent that the
stencil suffered from the perspective distortion issue too.
2014-04-29 16:52:32 +03:00
c034a252bb Code cleanup: quiet warnings 2014-04-29 22:37:44 +10:00
1dcf956849 Fix for wrong behavior of 'darken' blend mode with factor.
The formula was not consistent across Blender and behaved strangely, now it is
a simple linear blend between color1 and min(color1, color2).

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D489
2014-04-29 14:03:09 +02:00
4ff3ebf45c Fix T39940: animation of render layer on/off toggle not working during render. 2014-04-29 14:03:09 +02:00
ef3eb7adc6 Code cleanup: don't use unnecessary .exe extension in scons, simplify code.
Reviewed By: brecht

Differential Revision: https://developer.blender.org/D236
2014-04-29 14:03:08 +02:00
7544961ea5 Fix T39942: Displacement of group instance objects when switching to textured viewport shading
Usual dupli object issue, sometimes it's needed that all the object in
dupli group have modified obmat.

Made it an utility function now, which is used by convertblender and
dupli draw code now.
2014-04-29 17:52:04 +06:00
182e97a2cd Fix T39941: Freestyle: Rendered preview crashes when non-primary render layer is selected and disabled.
Freestyle relies on render layer name (RenderLayer::name) to find the render layer that
corresponds to a scene render layer being rendered.

When the active render layer is disabled during preview rendering, the function
render_result_new() populates the list of render layers (RenderResult::layers) with an
unnamed render layer while setting the active scene render layer index to zero.

This commit fixes the missing initialization of the render layer name by referring to that of
the first in the list of scene render layers.
2014-04-29 20:41:48 +09:00
437bb528bd Accidentally left compositor debug option enabled, sorry.
(We should replace that with a proper build option really)
2014-04-29 12:50:19 +02:00
94bf67b78e Error in last commit 2014-04-29 20:41:28 +10:00
232f19f0c2 PyAPI: Matrix.invert(ed): accept an optional fallback argument
This avoids try/except when its possible the matrix has no inverse.
2014-04-29 20:12:07 +10:00
4d8c49bfd0 Reimplemented the earlier feature of swapping existing links to
neighboring sockets when connecting to an occupied input.

This now works based on socket names rather than types, which helps to
avoid unwanted connections to arbitrary sockets. Sockets are considered
swappable when their names match, based on an alphabetic prefix followed
by non-alphabetic suffix.

For example:
Image - Image : matches
Color1 - Color2 : matches (used e.g. in cycles mix nodes)
Roughness - Rotation : does not match (suffix is still alphabetic)
2014-04-29 11:28:16 +02:00
55c720f06e Fix T39936: Plane Track operation would not initialize resolutions for
upstream nodes.
2014-04-29 10:38:50 +02:00
409fb4da0c Code cleanup: remove redundant matrix initialization 2014-04-29 18:13:20 +10:00
d8282da545 Correction to last commit 2014-04-28 16:33:26 -07:00
3448822b2f Fix T39614: Ping Pong Action doesn't work correctly 2014-04-28 16:24:40 -07:00
a197d02b03 Fix T39939: Undo change of rB27db75363e67, which broke bevel.
The test for wire edges when reattaching was wrong, because
some newly made edges are wire at the point of the test.
This made some duplicate edges.
Need to track the original wire edges a different way.
2014-04-28 18:41:33 -04:00
94e5e2f5d8 Code cleanup: simplify reallocs using MEM_recalloc 2014-04-29 07:50:25 +10:00
a91c4ac99f Ignore user-preferences when inserting keys from Python 2014-04-29 07:35:04 +10:00
5d51de3bea Fix T39539
Initialization of not initialized memory when accessing the renderlayer
directly
2014-04-28 22:06:53 +02:00
7712d86512 Error in last commit, need to take duration into account 2014-04-29 06:05:54 +10:00
6600fe0de5 Correction to last commit 2014-04-29 05:48:25 +10:00
89b3dcaf82 f-curve easing: Adjustments to Robert Penner elastic easing
Compensate for the clamped amplitude by blending the elastic effect.

Allows for a subtle elastic effect which wasn't possible before.
2014-04-29 05:40:46 +10:00
e158fbf934 f-curve easing: make ease in/out expressions consistent 2014-04-29 03:21:32 +10:00