Campbell Barton
2df4444def
CMake: exclude Colamd when OpenNL's disabled
2015-03-19 14:48:52 +11:00
Campbell Barton
2a2bf3c1ab
Freestyle: pass Main struct to new/copy
2015-03-19 14:34:14 +11:00
Campbell Barton
9b54c88e0f
Cleanup: spelling grey -> gray
2015-03-19 14:14:48 +11:00
Campbell Barton
4f602ff943
Revert part of recent color-management commit
...
This adds back rgb_to_grayscale,
not all color is managed or depends on the current loaded blend file's CM options.
Noted in comments that this is only to be used outside the CM pipeline.
2015-03-19 14:12:51 +11:00
Campbell Barton
255b07681a
Color managed luminance for shader ramp-in-energy
2015-03-19 12:59:36 +11:00
Campbell Barton
ce11e1c878
Cleanup: better not pass function call to FTOCHAR
...
also use rgb_uchar_to_float
2015-03-19 12:42:34 +11:00
Campbell Barton
c31aae0487
Use fabsf for floats
2015-03-19 06:13:50 +11:00
Campbell Barton
1dd1d286c6
Select nth option to skip steps
...
Patch T43752 @codemanx, added matching curve option.
2015-03-19 04:40:43 +11:00
Campbell Barton
64451f0928
Fix for crash adding mask modifier
2015-03-19 01:10:44 +11:00
Antony Riakiotakis
9231d35caa
Simplify math in mix_linear glsl function. Thanks to valentin for
...
pointing out on irc.
2015-03-18 14:09:03 +01:00
Antony Riakiotakis
72419eebc2
Fix T44029 textures disappear in viewport if GPU mipmap generation is
...
off.
GPUs need a full tree of mipmaps up to dimension 1xn to work. This will
make it so for all imbufs but cost is negligible and it's unlikely that
something could break due to that.
2015-03-18 13:48:49 +01:00
Sergey Sharybin
3e5cd52783
Fix bad memory access freeing viewport which uses movie clip
2015-03-18 17:17:04 +05:00
Antony Riakiotakis
aff4aa173a
Support UV island selection in UV synch and face select mode.
...
Enough said, people wanted this for ages, enjoy!
2015-03-18 12:41:03 +01:00
Campbell Barton
ff1ed872d9
Fix crash using "Copy to selected" on ID-props
2015-03-18 18:53:32 +11:00
Campbell Barton
2919519714
RNA: palette colors api
...
Methods so Python can manage colors.
palette.colors.new()/remove()/clear()/active
2015-03-18 16:10:43 +11:00
Campbell Barton
a975a3ca63
RNA: move palette into its own file
2015-03-18 15:57:53 +11:00
Campbell Barton
db710e6c0d
Fix crash using removed data as function arguments
2015-03-18 15:52:36 +11:00
Campbell Barton
d0fcbab152
Fix RNA active spline assignment
2015-03-18 15:15:52 +11:00
Sergey Sharybin
63897304a9
Fix T44028: Vertex Colors Baking error
...
Was wrong color management flag used for some bakers.
Actually goes back to 7997e38 .
2015-03-18 00:10:58 +05:00
Bastien Montagne
2ab4489f17
Fix T44027: Normal Edit Mod : Radial from object normals affected by target object scale.
...
The way we were getting diff to apply to vcos from target object was just bad!
Also, fixed another related issue - negated scale would be clamped to nearly zero,
now only consider absolute version of size (we do not care about its sign here anyway).
This should be backported to 2.74 (with previous commit too).
2015-03-17 19:57:16 +01:00
Bastien Montagne
6ceb84c217
BLI math vec: add 'abs' functions to get absolute values of a vector.
...
Unseful when handling e.g. scale, sometimes.
2015-03-17 19:57:16 +01:00
Sergey Sharybin
948bc66a00
Cycles: Improve readability of dumped graphs
2015-03-17 21:15:17 +05:00
Sergey Sharybin
a43d00d51e
Cycles: Fix displacement code creating cyclic dependencies in graph
...
Bump result was passed to set_normal node and then set_node was connected
to all unconnected Normal inputs, including the one from original Bump
node, causing cycles.
2015-03-17 19:39:09 +05:00
Antony Riakiotakis
dd38dce7f0
Part 2 of D1082 by Troy Sobotka, remove our functions that do luma
...
calculations and use the OCIO one instead.
2015-03-17 15:20:33 +01:00
Antony Riakiotakis
42aac45d7f
Part 1 of D1082 by Troy Sobotka, add API in OCIO for luminance
...
calculation.
2015-03-17 14:15:05 +01:00
Lukas Tönne
bf8ea6b60e
Kick particle systems to force redistribution, needed for reliably
...
applying recent jitter fix.
2015-03-17 11:04:44 +01:00
Sergey Sharybin
07f53d6454
Fix T44020: Crash exporting fluid sim to fbx
...
The issue is coming from wrong fluid modifier copy callback,
which might have left some pointers shared across original
and target fluid modifiers.
2015-03-17 12:59:44 +05:00
Sergey Sharybin
1724513fc6
Fix T44021: Crash switching Rendering Engines while viewport rendering + animating
...
Make sure preview render job is cancelled before freeing the render engine
associated to the viewport.
2015-03-17 12:02:10 +05:00
Mike Erwin
f138666f68
cleanup: Mac #include
...
Don’t need all of Cocoa, or any of Carbon here.
2015-03-17 01:18:52 -04:00
Mike Erwin
c0fa864e24
Cleanup: bool & const
...
Using bool when we're asking yes/no questions such as whether some GPU
feature is supported.
Consolidated these simple functions into gpu_extensions.c and grouped
them in the header.
Const-ified some args where the functions don't modify the pointed-to
data.
2015-03-16 22:57:56 -04:00
Bastien Montagne
b0bbd34ac2
I18n: update for new akward algo names in UI messages...
2015-03-16 20:55:01 +01:00
Gaia Clary
ef70d644d6
reverting unintentionally changed value of enum OBJ_TEXT
2015-03-16 18:58:58 +01:00
Gaia Clary
9ed5a1073e
fix D1130 renamed the enum OBJ_FONT to OBJ_TEXT to avoid naming conflicts in Windows
2015-03-16 18:46:40 +01:00
Antony Riakiotakis
77bc623bc4
Get rid og gluBuild2DMipmaps on game engine.
2015-03-16 16:18:37 +01:00
Antony Riakiotakis
664c611fc8
Get rid of gluBuild2DMipmaps on rna API.
...
Code here is a bit weird/simpler than GPU_draw, but we can reuse the API
here, albeit with a few restrictions (no high resolution, custom
filtering mode - which will probably get lost next time blender reloads
textures)
2015-03-16 16:07:21 +01:00
Antony Riakiotakis
6d03e94491
Get rid of gluBuild2DMipmaps on gpu_draw.c (use our own imbuf scaling
...
functions instead)
2015-03-16 15:45:34 +01:00
Antony Riakiotakis
86c828d9fd
Make sure disabling attribute arrays also resets the counter so we don't
...
do it twice.
2015-03-16 12:14:23 +01:00
Jörg Müller
2fa593a6f7
Fix T43853: Audio animation bug (fcurves)
...
For a detailed bug explanation see the comments in the report.
2015-03-16 23:02:04 +13:00
Sergey Sharybin
19ce78fb3b
Code cleanup: Comment
2015-03-16 14:52:54 +05:00
Bastien Montagne
9542cf041a
Fix an incorrect assert in lnor code.
...
There is one case where we do can have only two edges for two loops...
2015-03-16 10:38:45 +01:00
Sybren A. Stüvel
30527e3e55
Fix T43178: BGE has hard-coded 60 Hz as frame rate
...
Two areas of the BGE use a hard-coded 60 Hz as frame rate. However, this 60 Hz is just a default setting, and can be changed in the Blender interface.
This setting is now used instead of the hard-coded 60 Hz.
CcdPhysicsEnvironment::SetFixedTimeStep() is actually never called, as we don't even support a true fixed-timestep simulation.
2015-03-16 10:12:37 +01:00
Gaia Clary
6aaedc7cfd
Refer to Task 43975: Deleting a Shapekey can break the relative pointers
...
This patch would reassign the relative of all keyblocks to the relative
of the deleted keyblock. And it fixes the misalignement of the index values
after the keyblock is deleted.
Reviewers: campbellbarton
Differential Revision: https://developer.blender.org/D1176
2015-03-16 10:03:23 +01:00
Sergey Sharybin
60df4d10ff
Fix T43999: MIS for environment broken after multi-threading commit
...
Typo in task start row calculation.
2015-03-16 13:31:27 +05:00
Campbell Barton
ce009c8019
PyConsole: double-click to select word
...
patch T43641 by @v-disp with own edits
2015-03-16 16:03:32 +11:00
Campbell Barton
4c58cb8bd9
Correct assert
2015-03-16 13:39:27 +11:00
Campbell Barton
f03e004c23
Fix T43997: Paste fcurve keeps handle selection
2015-03-16 13:08:26 +11:00
Campbell Barton
927306d60a
Cleanup
2015-03-16 11:46:20 +11:00
Campbell Barton
13dc766148
PyAPI: bpy.ops enum error was cut short
2015-03-16 10:16:16 +11:00
Campbell Barton
06cc89d744
Fix T43976: Edit-mode crash /w (scene/screen.scene) mismatch
2015-03-16 09:57:15 +11:00
Campbell Barton
d49eeabae7
Cleanup: warnings
2015-03-16 09:37:00 +11:00