Revision 4b9fb83 by Antonis Ryakiotakis December 5, 2013, 21:32 (GMT) |
Appease grumpy ole gcc 4.7 of MinGW64 (possibly gcc 4.6 of MinGW32 too?) that cannot convert float to char without false warnings that are turned into errors with strict flags. I expect that any real conversion warnings can be caught on linux. |
Revision 39fd299 by Antonis Ryakiotakis December 5, 2013, 21:12 (GMT) |
Forgot to theme-ify color of shadow UVs (color used to draw uvs during image painting) |
Revision 3f82e82 by Sergey Sharybin December 5, 2013, 19:12 (GMT) |
Correction to fix of T37688 rB68d39a262c90 didn't check correct file for doing versioning code. It shall check userprefs.blend not startup.blend. |
Revision 07ceb99 by Campbell Barton December 5, 2013, 16:57 (GMT) |
Code Cleanup: use strict flags for math lib, add inline declarations |
Revision fac8e84 by Campbell Barton December 5, 2013, 14:32 (GMT) |
Fix for own error in recent tessellation update. |
Revision 193dd13 by Lukas Toenne December 5, 2013, 14:09 (GMT) |
Fix T37698: Crash from invalid context access when freeing custom python nodes on Blender exit. The nodeFreeNode function is calling a customizable freefunc callback, which can be implemented by python. However, the context is invalid when using this callback while the node tree data block is freed on exit. Luckily it is also not necessary: When freeing the bNodeTree data blocks all that is needed is freeing of the DNA data, no other side effects should happen. So now disable the api callbacks when freeing nodes in the ntreeFreeTree function. Also some minor cleanup: checking node->typeinfo is not necessary, all nodes will always have a valid typeinfo pointer - if a node type is unknown this will be a stub bNodeType to avoid the need for such checks. |
Revision 68d39a2 by Sergey Sharybin December 5, 2013, 13:32 (GMT) |
Fix T37688: User Preferences do not load correctly Issue was caused by from_memory=true passing to wm_homefile_read in case there's a configuration folder for current blender. But the thing is, we still might fallback to reading home file from memory (i.e. in cases there's no startup.blend in config folder). In this case we still need to run versioning code for userprefs. |
Revision 4838a60 by Sergey Sharybin December 5, 2013, 11:31 (GMT) |
Revision c17266f by Shinsuke Irie December 5, 2013, 07:08 (GMT) |
Blender Internal: Fix for rendered view crash that happens when changing screen or area type This crash is very similar to T36936. If changing screen or area type buried the rendered view, popping up it again may cause the crash by corrupted render database. |
Revision 6976866 by Campbell Barton December 5, 2013, 06:26 (GMT) |
User Interface: Ctrl+C over a menu copies the py command also use bools rather then ints |
Revision 8003f06 by Campbell Barton December 4, 2013, 23:34 (GMT) |
Compiler warnings: quiet float/double conversion warning |
Revision df2f604 by jens verwiebe December 4, 2013, 22:15 (GMT) |
OSX/scons: fix misdesigned version detection of compiler ( todo: do with submodule ), fix a compiler warning with clang < 5�? |
Revision c6f425c by Sergey Sharybin December 4, 2013, 19:24 (GMT) |
Fix T37189: Inconsistent icons for Force field There's still an issue with Curve Guide force field which you can not so easily change type from/to. This i would consider TODO for later. |
Revision b987548 by Sergey Sharybin December 4, 2013, 17:17 (GMT) |
Fix T37680: Texture image scale is not refreshing |
Revision c2a5184 by Campbell Barton December 4, 2013, 16:45 (GMT) |
Add alloca include for MSVC |
Revision 67134a7 by Lukas Toenne December 4, 2013, 15:05 (GMT) |
Fix for EWA (elliptical weighted average) sampling in the compositor. EWA sampling is designed for downsampling images, i.e. scaling down the size of input image pixels, which happens regularly in compositing. While the standard sampling methods (linear, cubic) work reasonably well for linear transformations, they don't yield good results in non-linear cases like perspective projection or arbitrary displacement. EWA sampling is comparable to mipmapping, but avoids problems with discontinuities. To work correctly the EWA algorithm needs partial derivatives of the mapping functions which convert output pixel coordinates back into the input image space (2x2 Jacobian matrix). With these derivatives the EWA algorithm projects ellipses into the input space and accumulates colors over their area. This calculation was not done correctly in the compositor, only the derivatives du/dx and dv/dy were calculation, basically this means it only worked for non-rotated input images. The patch introduces full derivative calculations du/dx, du/dy, dv/dx, dv/dy for the 3 nodes which use EWA sampling currently: PlaneTrackWarp, MapUV and Displace. In addition the calculation of ellipsis area and axis-aligned bounding boxes has been fixed. For the MapUV and Displace nodes the derivatives have to be estimated by evaluating the UV/displacement inputs with 1-pixel offsets, which can still have problems on discontinuities and sub-pixel variations. These potential problems can only be alleviated by more radical design changes in the compositor functions, which are out of scope for now. Basically the values passed to the UV/Displacement inputs would need to be associated with their 1st order derivatives, which requires a general approach to derivatives in all nodes. |
Revision 04e434c by Sergey Sharybin December 4, 2013, 14:47 (GMT) |
Fix T37690: UI does not immediatelly reflect new length of effect strip |
Revision 45fc801 by Lukas Toenne December 4, 2013, 11:09 (GMT) |
Fix for interpolation errors on lower-left borders in compositor image inputs. http://wiki.blender.org/uploads/4/4c/Compo_image_interpolation_borders.png Problem is that all image buffer reader nodes (RenderLayer, Image, MovieClip) were clipping pixel coordinates to 0..N range (N being width or height respectively). Bilinear interpolation works ok then on the upper-right borders (x, N) and (N, y), since the last (N-1) pixel fades out to N (background). But the lower-left (x, 0) and (0, y) borders are not correctly interpolated because the nodes cut off the negative pixels before the interpolation function can calculate their value. To fix this, the interpolation functions are now entirely responsible for handling "out of range" cases, i.e. setting (0,0,0,0) results for invalid pixels, while also handling interpolation for borders. Callers should not do pixel range checks themselves, which also makes the code simpler. Should not have any real performance penalty, the interpolation functions do this check anyway, so is probably even slightly faster. |
Revision a698709 by Sergey Sharybin December 4, 2013, 09:57 (GMT) |
Code cleanup: remove unused color management functions |
Revision 6a35b2d by Campbell Barton December 4, 2013, 02:51 (GMT) |
Compiler Warnings: disallow 'long' in DNA, its not reliably 64bit (gcc only) |
|
|
|


Master Commits
MiikaHweb | 2003-2021