Campbell Barton
914d389713
fix for building without python, also rework python-main-loop control in the BGE to not use RNA (use lower level BKE/BLI funcs instead)
2012-09-04 03:26:12 +00:00
Mitchell Stokes
e5a1b1b526
Fix for [ #32469 ] "standalone blenderplayer no longer starts in lastest build" reported by narutocanada. It looks like the Hive commit (r50310) didn't take changes from r49998 into account, so it was still relying on Ghost events to push the engine along instead of calling app->EngineNextFrame().
2012-09-04 02:33:37 +00:00
Campbell Barton
a71b160184
fix for building on msvc2008 (also style cleanup)
2012-09-04 01:23:50 +00:00
Campbell Barton
7283709a40
code cleanup: curve path calculation
2012-09-03 22:53:34 +00:00
Campbell Barton
aaafa0c2fe
code cleanup: move file string defines into BLI_path_utils.h, BKE_utildefines is now unused but keep incase we want to add defines there later.
2012-09-03 22:04:14 +00:00
Lukas Toenne
f8c29c999f
Fix for Cycles OSL: The RenderServices pointer in ShadingSystem is no longer accessible from the interface class (presumably because it is just the base class pointer anyway and would have to be casted). The OSLRenderServices pointer to our own implementation is now stored alongside the ShadingSystem in the kernel globals, so it can be accessed in thread_init.
2012-09-03 18:51:02 +00:00
Lukas Toenne
9b30e8d83a
The shader id generated by the manager contains some special flags in high bits, leading to out-of-range index if used directly. This must use the SHADER_MASK to get actual array index.
2012-09-03 18:50:59 +00:00
Gaia Clary
192935eb04
fix:32348 Collada yfov to xfov conversion fo camera settings
2012-09-03 17:54:04 +00:00
Brecht Van Lommel
a2515f3ca0
Fix #32089 : non-progressive integrator issue with semi-transparent surfaces.
2012-09-03 17:41:49 +00:00
Brecht Van Lommel
195c520d05
Fix #32046 : GHOST_DropTargetWin32 memory leak, patch by Matt D.
2012-09-03 17:41:47 +00:00
Brecht Van Lommel
989313e450
Fix #32088 : cycles crash removing a lamp with non-progressive sampling.
2012-09-03 16:52:59 +00:00
Sergey Sharybin
3e540d4d4c
Fix #32372 : Blender Locks up when using Quick Fluid feature
2012-09-03 16:08:28 +00:00
Sergey Sharybin
e58548706f
Fix regression introduced in recent jobs system refactoring
...
Fluid simulation job progress wasn't displayed anymore.
2012-09-03 16:05:37 +00:00
Howard Trickey
5c2d9022d9
Fix knife bug #30764 , failure to cut sometimes.
...
Two bugs: first, the point-in-face function had a bug that made it fail for the xz or yz planes.
Second, in ortho mode, simultaneous linehits need careful sorting.
Also, in orth mode it is somewhat random whether the edges exactly behind the front ones are reported 'hit' by bvh tree, so put in code to prevent cuts along the parallel-to-view faces when not in cut-through mode.
2012-09-03 14:37:34 +00:00
Sergey Sharybin
eff97a82f8
Fix for compositor always cacheing frames when using Movie Clip input node
...
Issue was caused by getting image from compositor node conversion code,
now it'll check whether rendering happens and if so, frame wouldn't be
stored in the cache.
This possible fixes #32465 : Memory leak when rendering
2012-09-03 14:26:53 +00:00
Thomas Dinges
bf395ff0b8
OSL / Cmake:
...
* Holdout shader was missing in cmake.
2012-09-03 14:08:03 +00:00
Brecht Van Lommel
bfa82b074d
Fix #32097 : cycles window texture coordinate wrong, happened after 2.63.
2012-09-03 14:07:49 +00:00
Lukas Toenne
ad551c1ec6
Enable compilation of the SVM backend for Cycles even when OSL is enabled. The switch between SVM/OSL is decided at runtime, so the SVM code cannot simply be ignored when OSL is enabled.
...
Currently all shader functions check the OSL/SVM flag to dispatch to the appropriate backend. If this turns out to be a significant overhead (unlikely) this test should be moved out of the inner loop.
2012-09-03 13:56:40 +00:00
Brecht Van Lommel
264975b89c
Fix #32144 : cycles viewport missing update with dupliverts. Ideally this would be
...
fixed in the dependency graph so it gives a proper signal but that would need a
bigger refactor.
2012-09-03 13:18:23 +00:00
Sergey Sharybin
1f64aecb30
Fix for usage of un-initialized memory.
...
Checked by Brecht when were in Blender Institute.
Discovered when was looking into #32296 : Node Texture - Node Material - GLSL Viewport rendering issue
2012-09-03 13:17:21 +00:00
Brecht Van Lommel
d6ec4b874b
Compositor: initialize OpenCL only when the option is enabled. This eliminates
...
error prints or even crashes for poor OpenCL implementations when not using it.
2012-09-03 12:52:21 +00:00
Thomas Dinges
9fbc1c3149
* Added back UI switch for the Cycles shading system. Only visible when the feature set is "Experimental".
2012-09-03 12:35:32 +00:00
Sergey Sharybin
dde5ccb61f
Fix for logging FFmpeg messages
2012-09-03 12:01:00 +00:00
Brecht Van Lommel
1cb9b1ddf3
Fix #32461 : adjusting brush strength with shift+F in image editor would show
...
the cursor too big when zoomed in. Only the size adjusment needs to follow the
zoom level of the editor, others are fixed size.
2012-09-03 11:55:30 +00:00
Lukas Toenne
2f70800923
Fix for OSL shader install paths.
2012-09-03 11:38:22 +00:00
Lukas Toenne
99972cbfdc
RTTI needs to be disabled in cycles for OSL.
2012-09-03 11:38:20 +00:00
Lukas Toenne
c0a3657e7a
Added library linking for cycles_kernel_osl to OSL libraries and added cycles_kernel_osl to the list of blender libs in creator.
2012-09-03 11:38:18 +00:00
Lukas Toenne
0238d032b2
Replaced dynamic_casts for node type checks by simple 'special type' identifiers. RTTI has to be disabled in cycles for OSL.
2012-09-03 11:38:15 +00:00
Brecht Van Lommel
acebddeb23
Fix #32468 : 3d view texture paint mode did not show uv layout in image editor.
2012-09-03 11:26:04 +00:00
Campbell Barton
737f2e8be8
fix [ #31694 ] Circle Selection is ignored within face selection in texture paint mode
2012-09-03 10:39:15 +00:00
Campbell Barton
95f7264014
code cleanup: split out defines in BKE_utildefines.h into BLO_blend_defs.h and ui defines in interface_intern.h
2012-09-03 10:12:25 +00:00
Campbell Barton
b8b5bf7dcd
array functions for endian switching.
2012-09-03 09:03:25 +00:00
Campbell Barton
d248f94cf8
add endian switch functions to replace macros SWITCH_INT/LONG/SHORT, with BLI_endian_switch_int32/int64/float/double...
2012-09-03 07:37:38 +00:00
Campbell Barton
ca6fa937d4
style cleanup
2012-09-03 05:36:47 +00:00
Campbell Barton
56534ecdcb
style cleanup: also add debugging print function for derived mesh DM_debug_print_cdlayers()
2012-09-03 02:41:12 +00:00
Campbell Barton
721c37072e
uncomment data identifiers from sphinx docs (own error made r41509)
2012-09-03 02:08:56 +00:00
Campbell Barton
892cfa4285
fix [ #32434 ] Copy-Paste Tracks causes Blender to freeze/crash on second use.
2012-09-03 01:05:04 +00:00
Campbell Barton
bd53226b5c
fix [ #32423 ] Extrude crash
...
mistake in r50086 caused the crash (killing the wrong vertex)
2012-09-03 00:30:55 +00:00
Campbell Barton
dbdd1bb4f2
remove vertex groups from a mesh or lattice when this there are no remaining vertex groups. This was dont in edit-mode but not object-mode.
2012-09-03 00:02:13 +00:00
Lukas Toenne
c9cd150f43
Cycles compile fix: only use std::isfinite when OSL is enabled.
2012-09-02 18:11:28 +00:00
Thomas Dinges
dfec5a3655
* Removed last occurrence of get_pointcloud_attr_query.
2012-09-02 17:39:07 +00:00
Thomas Dinges
add7ca12d9
* OSL can't overwrite input parameters, use a local variable instead.
2012-09-02 16:37:58 +00:00
Thomas Dinges
b26d19a7b8
Cycles / OSL:
...
* Updates for noise_turbulence, to match svm function.
2012-09-02 16:06:18 +00:00
Lukas Toenne
e1bca6cfc4
Fixed a number of OSL syntax errors from the updated 1.2 API. Microfacet functions now all take an eta parameter, set to 1.0 if no IOR is given.
2012-09-02 15:41:35 +00:00
Thomas Dinges
28d02bc056
Fix for r50314:
...
* oren_nayar is not part of the default stdosl, added it back.
2012-09-02 15:26:13 +00:00
Lukas Toenne
092f6344c3
Fixed remaining syntax errors in OSL files. node_sepcomb_rgb.osl is split into 2 parts, since OSL only allows one shader per file.
2012-09-02 15:07:51 +00:00
Sv. Lockal
ebbfc46bea
Use function pointers instead of hard-coded english button names in color picker block.
...
This solves the problem with es/ru translations of color picker block reported by Gabriel Gazzán in Bf-translations-dev.
2012-09-02 13:36:33 +00:00
Thomas Dinges
f1d279912f
Cycles / OSL:
...
* Add oslutil.h, from osl 1.2.
2012-09-02 13:34:12 +00:00
Thomas Dinges
6c02a8fc8c
OSL / Cycles:
...
* Update the stdosl header file, from official osl 1.2.
2012-09-02 13:23:44 +00:00
Thomas Dinges
25fc454ce0
Cycles / OSL:
...
* Remove declaration of node_blend_weight_texture from cmake, does not exist, and match node_blend_weight name in nodes.cpp with the actual file.
2012-09-02 12:46:54 +00:00