Antony Riakiotakis
d80ff8ce80
Image proxies now correctly support metadata (needs to regenerate
...
proxies though)
2015-05-06 13:05:59 +02:00
Antony Riakiotakis
27c3886064
Cleanup: use functions we already use elsewhere for bone detection
...
instead of the ninja code that we use now.
2015-05-06 12:53:33 +02:00
Antony Riakiotakis
69bf3a9e94
Updating node standard value won't work if node is hidden, patch by
...
Alexander Romanov with minor changes.
2015-05-06 11:59:39 +02:00
Antony Riakiotakis
0abb6f3ef0
Patch D1283 by Alexander Romanov fixes reroute node type update not
...
correct when root reroute node is plugged in a different type of input
2015-05-06 11:46:47 +02:00
Campbell Barton
bc2f77e1da
Add bpy.app.binary_path_python
...
Access to the python binary distributed with Blender,
fallback to system python executable (matching Blender's version).
2015-05-06 11:13:42 +10:00
Campbell Barton
c246e0c3b6
Prefer name 'program' over 'binary'
...
binary-search is confusing!
2015-05-06 06:34:19 +10:00
Campbell Barton
e00142bfa7
BLI_path: add PATH search utility functions
2015-05-06 06:21:16 +10:00
Brecht Van Lommel
1d0f1a1ec9
Fix T44593: particle volume distribution not working with large meshes.
2015-05-05 21:43:24 +02:00
Porteries Tristan
4616a7a4d3
BGE: Fix collision callbacks for compound controllers
...
It fix some mistakes in b5e9653035 and made a more safety behavior for collision callbacks used in compound controllers during adding and removing.
2015-05-05 19:54:12 +02:00
Campbell Barton
35c67d6750
Fix reading uninitialized memory finding paths
2015-05-06 02:22:00 +10:00
Porteries Tristan
b5e9653035
BGE: Remove function DisableCcdPhysicsController and EnableCcdPhysicsController in CcdPhysicsEnvironment
...
Replace EnableCcdPhysicsController by AddCcdPhysicsController and DisableCcdPhysicsController by RemoveCcdPhysicsController.
Tested with compound shapes and collision sensors.
Reviewers:agoose77, ideasman42
2015-05-05 15:18:29 +02:00
Campbell Barton
e5e73ccc90
Math Lib: rename fill_*, to copy_*
...
matching convention for fixed length api, eg: copy_v3_fl
2015-05-05 17:08:29 +10:00
Campbell Barton
ea5f9fee8d
Cleanup: function arg wrapping
2015-05-05 16:34:38 +10:00
Campbell Barton
1648feec94
Cleanup: rip tool
2015-05-05 16:34:37 +10:00
Campbell Barton
22bbd1c512
BMesh: improve rip tool /w mon-manifold verts
...
Can now rip from multiple fans (mixed single faces or larger regions)
Also add BM_vert_is_manifold_region which only checks if a vert has disconnected fans.
2015-05-05 07:22:35 +10:00
Campbell Barton
e59bd19fa7
Cleanup: style & const's
2015-05-05 05:19:49 +10:00
Campbell Barton
7478eb9bd0
Cleanup: wrapped function indentation
2015-05-05 05:19:48 +10:00
Bastien Montagne
cc81b58277
Cleanup: deduplicate code.
...
FileBrowser had its own 'shorten_string' func, when we have a full fledge one in interface_widget code...
2015-05-04 21:13:35 +02:00
Antony Riakiotakis
e10ecb6494
Revert "Different drawing for object centers."
...
This reverts commit 5a8629c0d7 .
It does not really work that well since objects can draw in front of
selection circles now.
2015-05-04 18:00:29 +02:00
Campbell Barton
1b8069bdd9
UI: location/scale were snapping to 10s
...
In practice this isn't useful (for scale especially).
For float buttons with a very large range, don't attempt to match the snap to the range.
2015-05-05 01:20:40 +10:00
Campbell Barton
fd5090ab41
UI: button snap (ctrl) was rounding down
2015-05-05 01:06:09 +10:00
Antony Riakiotakis
1227e5c3d1
Fix T44503 full sample does not display any preview any more.
...
The fix exposes another error not fixed in this commit, escaping the
render will not flush the full sample render result correctly.
2015-05-04 16:57:48 +02:00
Campbell Barton
68fe630735
Fix eyedropper with quad-view
2015-05-04 23:50:38 +10:00
Campbell Barton
52b9d83417
Fix T44592: Zero scale on an axis, zeros all
2015-05-04 22:39:33 +10:00
Antony Riakiotakis
73c090fe81
Fix T44594 disable depth of field in wireframe/bounding box modes. We
...
don't supply depth information in those modes so supporting the effects
does not really make sense
2015-05-04 14:34:57 +02:00
Lukas Tönne
c19f3ea1b2
Fixed comment.
2015-05-04 14:31:44 +02:00
Bastien Montagne
e560bbe1d5
Fix possible crash with datatransfer operator when source object was hidden.
...
Mismatch in poll and exec funcs when getting active (source) object...
2015-05-04 14:30:00 +02:00
Antony Riakiotakis
5a8629c0d7
Different drawing for object centers.
...
Code here did depth test always and depth range 0.0.
There is no real reason for object centers to write and get tested
against depth buffer in this case, just disable the depth test instead
;)
Helps with blurry object centers in depth of field mode too (centers
wrote depth 0 and were always blurry)
2015-05-04 13:53:23 +02:00
Porteries Tristan
be30070d86
BGE: Cleanup KX_BlenderSceneConverter.cpp
...
This commit is a little cleanup for whitspaces, braces, spaces around operators and useless keywords struct/class.
Reviewers:sybren
2015-05-04 13:36:11 +02:00
Sergey Sharybin
b7d0ff0ad6
Separate scene simplification into viewport and render
...
This way it is possible to have viewport simplification bumped all the way up,
making viewport really responsive but still have final render to use highest
subdivision possible.
Reviewers: lukastoenne, campbellbarton, dingto
Reviewed By: campbellbarton, dingto
Subscribers: dingto, nutel, eyecandy, venomgfx
Differential Revision: https://developer.blender.org/D1273
2015-05-04 16:31:10 +05:00
Campbell Barton
7e3ee2d15d
Skin Modifier: remove redundant edge-calculation
2015-05-04 20:59:34 +10:00
Campbell Barton
abd68c6e45
Fix T42893: Skin Modifier, changes randomly toggling editmode
...
Own regression, previously it would do a full mesh normal calculation for each isolated shape
(could hang on meshes with many loose parts).
However the normals are needed, instead of doing a full calculation,
just set normals on new faces.
Thanks to Brecht for finding cause!
2015-05-04 20:56:57 +10:00
Brecht Van Lommel
8d5eeab473
Skin Modifier: Add missing operator stack pop
2015-05-04 20:56:57 +10:00
Antony Riakiotakis
93055b1c22
Fix metadata display in sequencer lost after doing a preprocess
...
transform.
IMB_makeSingleUser makes a copy and destroys metadata. I am not sure if
this is the safest way to make a single user ImBuf (setting the refcount
to 0 is simpler and there's less, but no zero, risk of dangling
pointers) but I will leave this as is for now in case there is an actual
need for a copy here. The alternative approach should be tested at some
point.
2015-05-04 12:53:16 +02:00
Tamito Kajiyama
046388830a
Freestyle: Fix for line style ID datablocks not copied when fully copying a scene.
2015-05-04 19:52:03 +09:00
Antony Riakiotakis
b07c2961fa
Don't scale metadata font with zoom - makes strings not consistently
...
adhere to the string length
2015-05-04 12:30:26 +02:00
Antony Riakiotakis
711e2f71a8
Support displaying metadata for images in sequencer preview windows (not
...
backdrop)
2015-05-04 12:18:19 +02:00
Sergey Sharybin
23a79c42b5
BGE Player: Fix compilation error after cleanup commit da8a62a
2015-05-04 14:39:12 +05:00
Campbell Barton
4e1c27f646
Fix T29029: Grease pencil fails in Quad View
2015-05-04 19:12:54 +10:00
Sergey Sharybin
c46f40e9e2
Freestyle: Compilation error fix after recent changes in BKE_object_add()
2015-05-04 13:52:44 +05:00
Campbell Barton
4edc9d50fd
Correct own error in recent quad-view ruler fix
2015-05-04 18:32:47 +10:00
Campbell Barton
74dc4e87a6
Fix Buttons context, invalid object data access
...
Another instance of T44376.
Crash where the Python context would access a stale pointer to the active object.
2015-05-04 18:06:31 +10:00
Campbell Barton
c9e5e81064
Button Space: clear pin flag when NULL'ing pointer
2015-05-04 16:12:12 +10:00
Campbell Barton
77e6a001a9
Fix T44376: Buttons context, invalid data access
...
Removing a scene from the buttons window would crash from a Python operator.
2015-05-04 16:01:20 +10:00
Campbell Barton
8d5e57748a
Cleanup: WM_main_remove_notifier_reference
...
Assumed the `reference` pointer is an ID, currently true, but may not always be.
Add a callback specifically for this purpose since cleaning up notifiers and space-types are different operations.
2015-05-04 16:01:20 +10:00
Campbell Barton
da8a62adce
Cleanup: naming for callback wrappers
2015-05-04 16:01:20 +10:00
Campbell Barton
8515be8a73
Remove redundant outliner lookup freeing objects
2015-05-04 16:01:20 +10:00
Campbell Barton
fdc5f9c0a8
Add name argument to data creation API calls
...
Was adding then renaming, unnecessarily.
2015-05-04 16:01:20 +10:00
Sybren A. Stüvel
4e7ef3f5cd
BGE: Added 'ghost' arg to KX_GameObject.suspendDynamics() method
...
The implementation of this 'ghost' argument already existed in the C++
source, but wasn't exposed to Python yet.
2015-05-04 12:04:09 +08:00
Tamito Kajiyama
dbee634572
Fix typos.
2015-05-04 01:53:34 +09:00