February 15, 2013, 15:36 (GMT) |
Fix: Collada Import files with X_UP and Y_UP axis where imported with wrong orientation |
February 15, 2013, 14:54 (GMT) |
Add some more detailed CUDA error prints to try to debug #34166. |
February 15, 2013, 14:30 (GMT) |
Various fixes for UI translation issues (reported by Leon Cheung on bf-translations ML, thanks!). |
February 15, 2013, 13:30 (GMT) |
revert own commit r54450, this works on X11 but not in Windows and caused bug [#34255] (which may be a bug in windows ghost?, not getting key release for modifiers). Cross platform modifier keys on activating window better be handled at ghost level anyway. |
February 15, 2013, 12:57 (GMT) |
skip fix from r54579 when holes aren't used (keeps bmesh ngon filling fast) |
February 15, 2013, 12:26 (GMT) |
Bug fix #34177 Blender's triangulator has been rescued :) This commit fixes errors with concave holes inside polygons. Simple explanation: Blender "ScanFill" works by sorting vertices from top-left to bottom-right, and connecting these vertices with a sorted list of edges they have. The inner loop then goes over every vertex, its edges, and tries to make triangles by checking vertices that are next in the list. - if the triangle has points inside: it creates an edge to this vertex, and continues - else: add new triangle. Very simple, fast and efficient. But it needed one more check for the first step: it should check every vertex inside the triangle, and pick the best vertex for an edge based on forming the sharpest angle with the tested edge. That solves the case for concave holes. Blender ScanFill was coded 20 years ago, and is an own invention. I wanted a triangulator that just fills any collection of polygons, including with holes. No idea if this was ever published in a paper! |
February 15, 2013, 12:08 (GMT) |
Fix #34256: join a mesh with non-uniform scale with another mesh showed wrong normals, they need to be recalculated then. |
February 15, 2013, 11:49 (GMT) |
Bugfix [#33970] Background Scene does not show animation of rigid body objects This was caused by multiple instantiations of the same basic problem. The rigidbody handling code often assumed that "scene" pointers referred to the scene where an object participating in the sim resided (and where the rigidbody world for that sim lived). However, when dealing with background sets, "scene" often only refers to the active scene, and not the set that the object actually came from. Hence, the rigidbody code would often (wrongly) conclude that there was nothing to do. For example, we may have the following backgound set/scene chaining scenario: "active" <-- ... <-- set i (rigidbody objects live here) <-- ... <-- set n The fix here is a multi-part fix: 1) Moved sim-world calculation from BKE_scene_update_newframe() to scene_update_tagged_recursive() + This is currently the only way that rigidbody sims in background sets will get calculated, as part of the recursion - These checks will get run on each update. <--- FIXME!!! 2) Tweaked depsgraph code so that when checking if there are any time-dependent features on objects to tag for updating, the checking is done relative to the scene that the object actually resides in (and not the active scene). Otherwise, even if we recalculate the sim, the affected objects won't get tagged for updating. This tagging is needed to actually flush the transforms out of the RigidBodyObject structs (written by the sim/cache) and into the Object transforms (obmat's) 3) Removed the requirement for rigidbody world to actually exist before we can flush rigidbody transforms. In many cases, it should be sufficient to assume that because the object with rigidbody data attached has been tagged for updates, it should have updates to perform. Of course, we still check on this data if we've got it, but that's only if the sim is in the active scene. - TODO: if we have further problems, we should investigate passing the "actual" scene down alongside the "active" scene for BKE_object_handle_update(). |
February 15, 2013, 11:46 (GMT) |
Fix #34254: cycles brightness/contrast node was missing for GLSL material view. |
February 15, 2013, 11:23 (GMT) |
Fix compilation on linux (with gcc4.7). Without const, I had the following error: /home/i7deb64/blender-2.5-svn/__work__/freestyle/source/blender/freestyle/intern/python/BPy_ViewMap.cpp: In function â??PyObject* ViewMap_scene_bbox_get(BPy_ViewMap*, void*)â??: /home/i7deb64/blender-2.5-svn/__work__/freestyle/source/blender/freestyle/intern/python/BPy_ViewMap.cpp:120:54: error: invalid initialization of non-const reference of type â??BBox<VecMat::Vec3<double> >&â?? from an rvalue of type â??BBox<VecMat::Vec3<double> >â?? In file included from /home/i7deb64/blender-2.5-svn/__work__/freestyle/source/blender/freestyle/intern/python/BPy_ViewMap.cpp:3:0: /home/i7deb64/blender-2.5-svn/__work__/freestyle/source/blender/freestyle/intern/python/BPy_Convert.h:81:12: error: in passing argument 1 of â??PyObject* BPy_BBox_from_BBox(BBox<VecMat::Vec3<double> >&)â?? /home/i7deb64/blender-2.5-svn/__work__/freestyle/source/blender/freestyle/intern/python/BPy_ViewMap.cpp:121:1: warning: control reaches end of non-void function [-Wreturn-type] make[2]: *** [source/blender/freestyle/CMakeFiles/bf_freestyle.dir/intern/python/BPy_ViewMap.cpp.o] Erreur 1 |
February 15, 2013, 09:15 (GMT) |
Fix #34205: Zooming in rendered mode during update out of sync with intended zoom Yes, again. There's some t within which reset is not allowed. This is so no reset happens too often for performance issues. If camera changes too often, some reset could be missed because of this timeout. For now tag engine for update, which will update viewport from blender side. Proper solution could be to detect such a changes from blender side and tag cycles for refresh instead of trying to detect changes form cycles, but that's for later. |
February 15, 2013, 09:02 (GMT) |
Motion tracking dopesheet Highlight background depending on number of tracks existing on frame. This is not so much mathematically accurate displaying where things shall be improved, but it's nice feedback about which frames better be reviewed. Bad frames are tracks < 8, highlighted with red. OK-ish frame are 8 <= tracks < 16, highlighted with yellow. Could be some artifacts with color region start/end, this is a bit unclear what exactly expected to be highlighted -- frames are displayed as dots, but in fact they're quite noticeable segments. |
February 15, 2013, 08:32 (GMT) |
Fix [#34253] UIList resize, resizes wrong list I/II When using default UI_UL_list, one should always spully a custom ID, else collision inside an area are quite likely... |
February 15, 2013, 08:31 (GMT) |
Translate "Set Parent To" menu (ctrl-P), reported on bf-translations ML by Satoshi Yamasaki, thanks! |
February 15, 2013, 06:33 (GMT) |
February 15, 2013, 04:14 (GMT) |
add debug check for mempool double free (or misuse of BLI_MEMPOOL_ALLOW_ITER), some reports in the tracker show errors on bmesh iteration which could be caused by this. |
February 14, 2013, 23:50 (GMT) |
Minor coding style clean-up. |
February 14, 2013, 23:49 (GMT) |
style cleanup |
February 14, 2013, 23:48 (GMT) |
Freestyle Python API improvements - part 3. Major API updates were made to address code review comments. This revision mostly focuses on Python wrappers of C++ 0D and 1D elements (i.e., Interface0D and Interface1D, as well as their subclasses). * Most getter/setter methods were reimplemented as attributes using PyGetSetDef. Vector attributes are now implemented based on mathutils callbacks. Boolean attributes now only accept boolean values. * The __getitem__ method was removed and the Sequence protocol was used instead. * The naming of methods and attributes was fixed to follow the naming conventions of the Blender Python API (i.e., lower case + underscores for methods and attributes, and CamelCase for classes). Some naming inconsistency within the Freestyle Python API was also addressed. * The Freestyle API had a number of method names including prefix/suffix "A" and "B", and their meanings were inconsistent (i.e., referring to different things depending on the classes). The names with these two letters were replaced with more straightforward names. Also some attribute names were changed so as to indicate the type of the value (e.g., FEdge.next_fedge instead of FEdge.next_edge) in line with other names explicitly indicating what the value is (e.g., SVertex.viewvertex). * In addition, some code clean-up was done in both C++ and Python. Notes: In summary, the following irregular naming changes were made through this revision (those resulting from regular changes of naming conventions are not listed): - CurvePoint: {A,B} --> {first,second}_svertex - FEdge: vertex{A,B} --> {first,second}_svertex - FEdge: {next,previous}Edge --> {next,previous}_fedge - FEdgeSharp: normal{A,B} --> normal_{right,left} - FEdgeSharp: {a,b}FaceMark --> face_mark_{right,left} - FEdgeSharp: {a,b}Material --> material_{right,left} - FEdgeSharp: {a,b}MaterialIndex --> material_index_{right,left} - FrsCurve: empty --> is_empty - FrsCurve: nSegments --> segments_size - TVertex: mate() --> get_mate() - ViewEdge: fedge{A,B} --> {first,last}_fedge - ViewEdge: setaShape, aShape --> occlude - ViewEdge: {A,B} --> {first,last}_viewvertex - ViewMap: getScene3dBBox --> scene_bbox |
February 14, 2013, 21:40 (GMT) |
Fix #34252: cycles rendering 16bit PNG with too light colors. |
|
|
|


Master Commits
MiikaHweb | 2003-2021