Campbell Barton
0414ed1c48
Fix for mat3_to_rot_size modifying input matrix
2014-10-30 10:37:55 +01:00
Campbell Barton
8054372d22
Fix negate_m3 (taking 4x4 matrix)
...
Cycles bake used incorrectly.
2014-10-30 10:29:37 +01:00
Martijn Berger
4b33667b93
Deduplicate some code by using a function pointer to the real kernel
...
This has no performance impact what so ever and is already used in the adaptive sampling patch
2014-10-30 10:23:44 +01:00
Campbell Barton
88cc1a786b
Fix T42444: Neg scale rotated object flips 2x axis
...
This is a very old bug and a few attempts have been made to fix it before,
Old code was checking worldspace axis flipping, instead of axis flipping WRT the axis-alignment of the object.
2014-10-30 10:18:22 +01:00
Bastien Montagne
3ea11c1ac8
Fix T42441: Smoke doesn't render in 3DView if domain object's maximum draw type is set to "wire"
...
Added an exception in convertblender.c's is_object_hidden(), so that an object with active
smoke modifier is never considered hidden.
2014-10-30 09:34:17 +01:00
julianeisel
beaed66f29
UI: Fix tooltip text color not resetting correctly
...
The "Reset to Default Theme" operator didn't reset the tooltip text color correctly.
2014-10-30 01:50:48 +01:00
Campbell Barton
2f26683cdd
UI: let multi-num-drag change different ID values
...
Handy for property-chart addon.
2014-10-29 23:15:42 +01:00
Lukas Tönne
5802d4531d
Fix T42395: Stored "render data" in particles mismatches the particle
...
amount and crashes after Cycles render.
This is a hack to fix this, but at this point the system is hopelessly
broken anyway and no good fix other than total rewriting is possible.
2014-10-29 18:48:44 +01:00
Campbell Barton
26b5fb8f58
Correct stub
2014-10-29 17:27:32 +01:00
Lukas Tönne
f7dedbc3ce
Fix T42294: Bullet rigidbody point cache reading was using uninitialized
...
key values for velocity.
2014-10-29 15:01:19 +01:00
Campbell Barton
133f79e449
Cleanup: warnings, typos
2014-10-29 14:15:21 +01:00
Campbell Barton
5c633d3ba0
Fix for Ctrl+Del/Backspace not setting text dirty
2014-10-29 13:52:06 +01:00
Bastien Montagne
279cfdeef5
Fix T42394: Copy Rigid Body Tools would not work as expected if dest ob had no rigidbody yet.
...
Adding new object to RigidBodyWorld obgroup is not a good way to do that, since it only
takes effect (create rigid_body for new objects) when you change current frame.
Better to use rigidbody.object_add() operator here!
2014-10-29 13:11:10 +01:00
Lukas Tönne
a6c2d02366
Fix T42389: Removed outdated comment from custom_nodes.py example script.
...
There was some confusion about the bl_icon attribute being optional. In
fact the functionality for hiding a tree type in the editor header is
now controlled by writing a poll function for the tree type instead,
which is more flexible and clean.
http://www.blender.org/documentation/blender_python_api_2_71_6/bpy.types.NodeTree.html#bpy.types.NodeTree.poll
2014-10-29 13:05:21 +01:00
Sergey Sharybin
6a4a911fc3
Cycles: Optimize math node without links to a single value node
...
Pretty straightforward implementation. Just needed to move some functions
around to make them available at shader compile time.
2014-10-29 16:31:13 +05:00
Thomas Dinges
db4d7004d8
Cycles: Add a soft min/max UI value for volume step size, usually a range from 0.01 to 1.0 is fine.
2014-10-29 12:16:38 +01:00
Campbell Barton
d73e3f71d4
Revert "Fix T42222"
...
This reverts commit 507712db3f
.
Error was quite an old compiler, which had further warnings/errors.
Old compilers can just have this defined in BLI_math
2014-10-29 11:11:51 +01:00
Thomas Dinges
6d1c0260bb
Cleanup: Style fixes for closures, mainly bitflags and conditions.
2014-10-29 09:56:21 +01:00
Thomas Dinges
13ca9873c9
Cleanup: Remove unused function in Translucent BSDF.
2014-10-29 09:42:19 +01:00
Jens Verwiebe
485293647f
Player: fix conflicting type introduced in 2f0bdcb306
2014-10-28 21:39:54 +01:00
Jens Verwiebe
8dbce41706
OSX/GHOST: fix T42305, appswitching not reliable, proposed by Fabio Arnold
2014-10-28 20:44:05 +01:00
Campbell Barton
0151af5054
Markers: optimize drawing
...
- avoid 2x glScalef per marker
- skip markers outside the view
- merge drawing into a single loop
2014-10-28 20:04:46 +01:00
Campbell Barton
8ba33a69c8
Cleanup: rename draw_markers_time -> ED_markers_draw
2014-10-28 19:03:13 +01:00
Campbell Barton
36da579d12
Markers: show the area that handles marker events
2014-10-28 18:51:28 +01:00
Campbell Barton
b2b1d8e290
Cleanup: remove redundant 'object' parent class
2014-10-28 18:42:06 +01:00
Campbell Barton
2c35bcb356
Cleanup: use SELECT flag
2014-10-28 18:39:43 +01:00
Campbell Barton
2f0bdcb306
Fix T41041: 'Delete keyframe' removes markers too
...
Operators that trigger UI events (but nothing else)
were using 'CANCELLED' making it impossible to tell if an invoke
function failed, or opened a menu.
2014-10-28 17:51:43 +01:00
Campbell Barton
ba76f0c6a2
Lattice: add-object radius should never scale data
...
own error, lattice assumes rest state is unscaled data,
scaling needs to be done in object mode.
2014-10-28 15:55:35 +01:00
Campbell Barton
ee4fb23361
WM: clear operator memory on file load
...
Was causing problems when opening scenes with different scale set.
2014-10-28 15:47:51 +01:00
Campbell Barton
cb7afe5e41
WM: unneeded alloc the operator-type iterator
2014-10-28 15:41:05 +01:00
Campbell Barton
bfa24aa945
Keymap: PKey only runs BGE when engine is set
2014-10-28 13:34:11 +01:00
Campbell Barton
25b7455eea
Cleanup: de-duplicate engine-id's
2014-10-28 12:49:04 +01:00
Campbell Barton
cefe137e91
Remove redundant BLI_exists call
2014-10-28 11:33:05 +01:00
Campbell Barton
785b90d7ef
BMesh Py API: Fast index lookups for vert/edge/faces
...
This changes the Py API to use array lookup table.
Previously this could be very slow since it would loop over all elements.
Now the python script is responsible for creating the internal lookup table (as with C code).
This will break some scripts.
2014-10-28 10:03:54 +01:00
Jonathan Williamson
6c2ce7a382
Add Theme Option for UI Emboss
...
This adds a theme option for the embossing of UI widgets. By doing this users have much greater flexibility for creating nice themes. Previously many themes (particularly dark ones) looked quite bad due to the very obvious emboss. This made simpler, flat-style themes very challenging.
Closes T42228
Reviewed by @campbellbarton
2014-10-27 18:14:00 +01:00
Campbell Barton
9a98fad2e0
Fix assert's, remove uiEndBlock calls
2014-10-27 15:40:04 +01:00
Antony Riakiotakis
9c9b145dab
Fix T42393 crash in texture paint sampling in image mode when mesh did
...
not have a material
2014-10-27 10:42:59 +01:00
Bastien Montagne
e5c13aebea
Fix T42372: demo addon in doc was not handling keymaps correctly during (un)registration.
...
First, you should unregister in reverse order you registered your operators, keymaps, etc.
Second, when registering keymaps you have to check keyconfigs are actually available (they are not in background mode).
2014-10-26 10:01:03 +01:00
Jens Verwiebe
c8d10d115c
OSX/CLEW: silence hundreds of warnings: 'weak_import' attribute only applies to variables and functions
2014-10-24 14:25:02 +02:00
Jens Verwiebe
cdf5370159
Scons/funstuff: notify when the binaries are compiled
2014-10-23 19:19:02 +02:00
Antony Riakiotakis
179ad7dcba
Terminology Trim -> Slip tool. It's how it's mostly called in other
...
software.
2014-10-23 16:48:46 +02:00
Campbell Barton
f651a470bf
Fix T42367: Spline-ik offset evaluating curve
2014-10-23 16:33:28 +02:00
Campbell Barton
557d4370d9
Spline IK: use malloc, arrays are filled instantly
2014-10-23 16:33:25 +02:00
Tamito Kajiyama
a3e3ac03ff
Fix T42351: Freestyle will not render edges selected by Edge Type: Material Boundary, if the materials are different, but look identical.
2014-10-23 22:01:45 +09:00
Jens Verwiebe
f0d475d3de
OSX/GHOST: more little cleanups
2014-10-23 14:40:56 +02:00
Jens Verwiebe
abf7bd8d98
OSX/GHOST: some cleanups
2014-10-23 14:34:56 +02:00
Jens Verwiebe
b6dc15278c
OSX: move notification into its own function
2014-10-23 14:20:16 +02:00
Antony Riakiotakis
dbea73a30f
Fix T42354 modal transform map not cycling through local/global
...
orientation properly
Patch by Phillip Oeser, thanks!
2014-10-23 14:16:36 +02:00
Antony Riakiotakis
3b7794dab7
Fix T42330 game engine does not allow texture slots generation.
2014-10-23 13:39:45 +02:00
Campbell Barton
eaaeae4699
Cleanup: spelling
2014-10-23 10:38:38 +02:00