Commit Graph

53857 Commits

Author SHA1 Message Date
Campbell Barton
b245d3577a View2d: bring back 2.4x option to lock time for 2d views 2014-05-01 14:49:47 +10:00
Campbell Barton
4849ca8a56 Fix T39884: Displaying filenames with '|' failing in menus 2014-05-01 12:40:49 +10:00
Campbell Barton
7b0bce1946 Code cleanup: remove redundant filename copy & simplify splash 2014-05-01 11:59:25 +10:00
Mitchell Stokes
60c8c130fe BGE cleanup: KX_GameObject::GetParent() no longer increases the object's refcount.
I'm not sure why this function ever increased the object's refcount. Any
place in the code that calls KX_GameObject::GetParent() has to turn
around and call parent->Release(). Forgetting to call Release() was a
common cause of memory leaks (in fact, KX_SteeringActuator was probably
leaking). If the refcount needs to be increased, the calling code can
handle calling AddRef().
2014-04-30 18:53:32 -07:00
Thomas Dinges
8d42e7b20d Cleanup / Cycles: Adjust comment for faster testing in the future.
Unfortunately the function call is still a bit slower, even with CUDA 6.0. :/
2014-05-01 01:21:21 +02:00
Antony Riakiotakis
73ad0dfbae Fix first part of T39956
show diffuse option not correctly calculated on opening a file.

Make sure we call pbvh_show_diffuse_color_set after building the pbvh so
vertex data are available to it.
2014-05-01 02:12:02 +03:00
Thomas Dinges
55b2a5aa45 More fixes, msvc 2008 needs math includes for "isnan".. 2014-05-01 00:36:15 +02:00
Campbell Barton
1fcce18dbf Another issue with includes
OSX needs userdef for pixelsize, adjusted header to avoid this happening again.
2014-05-01 07:38:14 +10:00
Campbell Barton
af86b008b2 Include removal gave problems with windows, ifdef some back in for windows only 2014-05-01 07:21:08 +10:00
Campbell Barton
cb48c0ceea Revert "Fix msvc 2013 compiler errors after the ingenious cleanup in 4ca67869cc7a."
This reverts commit a47a4ef82f37428d391cc14a30fa611d6714e71d.
2014-05-01 07:20:46 +10:00
Thomas Dinges
a47a4ef82f Fix msvc 2013 compiler errors after the ingenious cleanup in 4ca67869cc7a. 2014-04-30 23:16:12 +02:00
Campbell Barton
2ce3e4639a Fix for making single user objects setting FROMGROUP flag incorrectly 2014-05-01 06:52:10 +10:00
Antony Riakiotakis
d2a3260763 Add PBVH debug display, where we can see the PBVH node bounding boxes.
To enable enter debug value 14.
Leaf nodes are green while container nodes are red.
2014-04-30 23:43:19 +03:00
Campbell Barton
d50f8832e3 Fix T39969: Make single user object looses custom-tx-bone 2014-05-01 06:07:21 +10:00
Campbell Barton
3d5ab5a496 Warning cleanup: signed/unsigned compare
also remove redundant loop in BKE_pose_copy_data
2014-05-01 05:57:01 +10:00
Campbell Barton
762a988130 Fix for copy_object_pose incrementing custom user twice 2014-05-01 05:54:57 +10:00
Campbell Barton
4b75956330 Fix T39974: Popups lead to crash if 'UNDO' isn't set
This isn't supported, raise an error instead
2014-05-01 05:28:52 +10:00
Campbell Barton
0309a7b9a9 Code cleanup: remove unused header 2014-05-01 05:07:48 +10:00
Campbell Barton
4ca67869cc Code cleanup: remove unused includes
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-05-01 04:47:51 +10:00
Sergey Sharybin
19cd6922a5 Fix T39965: Sequencer do not sync cycles strips
The was actually caused by the way how Cycles uses objects
layers. It's not possible to rely on the fact that layers
are flushed from Base to Object. It's only valid when rendering
active scene.

Now made it so layers are used from the base.
2014-04-30 21:08:07 +06:00
Thomas Dinges
d1009bdad5 Windows: Disable Numpy for now, we miss the libs for Python 3.4.
Also make the flag WITH_BF_PYTHON_INSTALL_NUMPY flag actually work on Windows.
2014-04-30 16:49:49 +02:00
741f17f05b Cycles CUDA: make CUDA toolkit 6.0 the official supported version.
This also updates the configurations to build kernels for compute capability
5.0 cards, when using and older CUDA toolkit version this will be skipped.

Also includes tweaks to improve performance with this version:
* Increase max registers on sm_30, sm_35 and sm_50
* No longer use texture storage on sm_30
2014-04-30 16:07:27 +02:00
Campbell Barton
4d1a109dde Fix T35176: Python fails with blend files from non-ASCII paths
Thanks to Tamito for updating the patch to support Freestyle!
2014-04-30 23:43:01 +10:00
Campbell Barton
b96d531bc9 Python: move to version 3.4x on all platforms 2014-04-30 23:19:16 +10:00
Campbell Barton
417efb0e8b Remove hard coded Python version for scons
note: this isn't best way of extracting version without '.'
2014-04-30 22:29:28 +10:00
Sergey Sharybin
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
Sergey Sharybin
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
Antony Riakiotakis
6ab3a2f8a4 Change naming slightly, it conflicts with DrawText function define on
windows on MinGW
2014-04-30 11:57:12 +03:00
Campbell Barton
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
Sergey Sharybin
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
Sergey Sharybin
1760763bec Frame cursor color was missing for the image editor 2014-04-30 17:40:02 +06:00
Campbell Barton
d2032d0dfe Fix T39931: Crash generating thumbnails (error in escaping) 2014-04-30 20:44:52 +10:00
Sergey Sharybin
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
Mitchell Stokes
cdc5d6537f BGE: Fixing a memory leak from the recent physics changes. 2014-04-29 23:53:19 -07:00
Joshua Leung
3150925ae8 Partially revert ef3eb7adc6f283145e28781a05b3b5e73a6cf083
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
Joshua Leung
31a7be8ed7 Spelling fixes 2014-04-30 14:30:22 +12:00
Campbell Barton
863352dfdc Correct issue with IMB_ispic returning bool 2014-04-30 10:43:46 +10:00
Campbell Barton
32e02302a7 Fix T39933: Link/Append Scenes misses VSE mask, clips 2014-04-30 09:46:26 +10:00
Campbell Barton
1f4cfb3974 Fix T39952: Printing tiles gives negative numbers 2014-04-30 09:34:37 +10:00
Campbell Barton
313d62df70 Get the edit-object when keying and checking editmode 2014-04-30 08:28:09 +10:00
Campbell Barton
48446870a8 Code cleanup: remove redundant CTX calls 2014-04-30 08:11:47 +10:00
Campbell Barton
cdaff06026 Fix T38905: view3d.object_as_camera didn't store the last-view 2014-04-30 07:34:33 +10:00
Campbell Barton
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
Campbell Barton
23b4e246e3 Remove link from Link/Append UI, since we have 2 menu items 2014-04-30 05:09:22 +10:00
Campbell Barton
27591458aa Correct own regression drawing lamp outline 2014-04-30 04:52:31 +10:00
Campbell Barton
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
Campbell Barton
4be837f192 Code cleanup: remove unused grease pencil pointer 2014-04-30 03:31:36 +10:00
Campbell Barton
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
Campbell Barton
8db84225bd Fix T31605: rotate around selection ignores numpad 2014-04-30 02:16:01 +10:00
Campbell Barton
d30988bbf1 Code cleanup: avoid sin/cos calls when drawing sun lamp 2014-04-30 02:12:11 +10:00