Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
AgeCommit message (Collapse)Author
2015-11-05Fix T46692: Triangulate creates duplicate facesCampbell Barton
Caused a crash in dyntopo.
2015-11-05Fix T46691: Graph Editor, Channel, Toggle Channel Editability. Cannot ↵Bastien Montagne
reassign hotkey after removing it. Anim Channels keymap is not editor-related...
2015-11-05BGE: Cleanup occlusion buffer in CcdPhysicsEnvironment.cppPorteries Tristan
This patch cleanup spaces/braces and newlines. Reviewers: moguri, kupoman Reviewed By: moguri, kupoman Subscribers: kupoman Differential Revision: https://developer.blender.org/D1607
2015-11-05Error in last commitCampbell Barton
2015-11-05Fix face creation using incorrect loop-custom-dataCampbell Barton
Custom-data on newly created face data was often rotated. Now the API doesn't copy data from adjacent loops when creating faces. Most functions were already overwriting this anyway. Since such decisions are better made at a higher level, now it's the responsibility of the caller.
2015-11-05Fix BMesh memory leak w/ multires dataCampbell Barton
2015-11-05BMesh: triangulate & poke - multires data supportCampbell Barton
2015-11-05BMesh: generalize logic for quad/ngon triangulateCampbell Barton
Avoid having 2 different code-paths for face triangulation.
2015-11-04Add missing check for multires interpolationCampbell Barton
2015-11-04Fix compilation error with OpenSubdiv disabledSergey Sharybin
2015-11-04OpenSubdiv: Use pool for delayed OpenGL buffers free when freeing from ↵Sergey Sharybin
non-main thread This is really similar to what GPU module was already doing. There are number of possible improvements still: - Re-use allocated VAOs when requesting new ones instead of going to the trouble of freeing VAO and then re-creating it again. - Move VAO handling to GPU module. Fixes T46589: OpenSubdiv crash with drivers
2015-11-04Fix T46687: Animating tracks properties from objects didn't use proper pathSergey Sharybin
2015-11-04Tracking: Move tracks list base search to an utility functionSergey Sharybin
No functional changes expected, just makes it easier for reuse.
2015-11-04File Selector, support filepath droppingGaia Clary
This adds support for dropping a filepath on an open file-selector to set that path.
2015-11-03Fix T46672: Concurrent access to source DM in datatransfer modifier.Bastien Montagne
There is no real elegant solution here, ideally a modifier shall never *modify* a source DM, but that would imply much better ways to ensure required data is available in that source DM, which we do not have currently. So instead, let's use brute force solution for now and always create a local copy of our source DM, that we can modify to our heart content!
2015-11-03imp: show alert color if mesh has weight groups but no active group is selectedGaia Clary
2015-11-03Avoid assert weight painting w/o an active groupCampbell Barton
2015-11-03Cleanup: de-duplicate quad_coord & resolve_quad_uv_v2Campbell Barton
2015-11-03Fix T46611: Vertex group locking failsCampbell Barton
2015-11-03Fix related to T46567: Skin modifier: add a warning message when no valid ↵Bastien Montagne
root vertex is found. Otherwise user may have a hard time understanding why their modifier is no more working after they e.g. deleted some vertices... including the root one. ;)
2015-11-03Correct error in recent commitCampbell Barton
2015-11-03Don't expand toggle brush on linkingSergey Sharybin
Toggle brush is more a runtime only feature, not really supposed to be used as real ID linking as it's done for modifiers i.e.
2015-11-03Edge/Vert slide: improve multires interpolationCampbell Barton
Need to re-interpolate the entire face, not just the connected loop. Also add BM_face_interp_multires()
2015-11-03BGE: Remove KX_IPOActuator.Porteries Tristan
KX_IPOActuator is not used since 2.4. This patch removes: - KX_IPOActuator.h/cpp; - Python doc; - Write of IPO actuator in write.c; - Allocation of IPOactuator in sca.c; - Conversion in KX_ConvertActuators.cpp; - Initialization of the python proxy in KX_PythonInitTypes.cpp; - Other minor remove in logic_windows.c and in KX_PythonInit.cpp. Reviewers: sybren, campbellbarton Reviewed By: campbellbarton Subscribers: moguri Differential Revision: https://developer.blender.org/D1603
2015-11-03Fix T46677: OpenSubdiv crashes when witching from simple and CC subdivisionsSergey Sharybin
Crash was happening due to OpenGL free from the non-main thread. Ideally we need to implement somewhat delayed unused buffer free for OpenSubdiv similar to what we are doing in GPU module.
2015-11-03Fix: edge/vert slide ignored multires dataCampbell Barton
Multires data fails the CustomData_layer_has_math() check, so meshes without UV's for eg werent getting interpolated multires.
2015-11-03BMesh: add BM_loop_interp_multires_ex which takes cached varsCampbell Barton
Avoid recalculating face centers (for each loop) when interpolating multires.
2015-11-03BMesh: inline vert-loop iteration for normal calcCampbell Barton
Calculating normals is called often (sculpting for eg), so avoid using high-level iterator here.
2015-11-03Cleanup: use 'const' for BMesh checking funcsCampbell Barton
2015-11-03Fix flip normals w/ multiresCampbell Barton
Needs Z axis flip to maintain the shape.
2015-11-03BMesh: avoid mdisp lookups (minor optimization)Campbell Barton
2015-11-02Better fix for pthread ID comparison crap on windows.Bastien Montagne
Suggested by Sergey, thanks!
2015-11-02Attempt to fix win32 compilation after own recent commits.Bastien Montagne
2015-11-02Filebrowser: fix preview handling to make correct use of task scheduler.Bastien Montagne
We needed the 'background' feature here, since we never wait on those preview-generation tasks. Note that it also simplifies the code, and as usual testing is needed here on all possible platforms...
2015-11-02BLI_task: add support for full-background taskpools.Bastien Montagne
With current code, in single-threaded context, a pool of task may never be executed until one calls BLI_task_pool_work_and_wait() on it, this is not acceptable for asynchronous tasks where you never want to actually lock the main thread. This commits adds an extra thread in single-threaded case, and a new 'type' of pool, such that one can create real background pools of tasks. See code for details. Review: D1565
2015-11-02BLI_task: add freedata callback to tasks.Bastien Montagne
Useful in case one needs more complex handling of tasks data than a mere MEM_freeN().
2015-11-02BLI_task: Fix/enhance logic of exiting worker threads.Bastien Montagne
In previous code, worker would exit in case it gets awoken from a condition_wait() and task queue is empty. However, there may be spurious wake up (either due to pthread itself, or to some race condition between workers) that would lead to wrongly exiting a worker before we actually exit the whole scheduler. See code for more details.
2015-11-02Fix/workaround T46622: crash w/ metas & particlesCampbell Barton
Metas are scanning all scenes duplis, which can go into particle systems without an initialized derived-mesh. For now just do NULL check, its not correct but real fix is not fitting well with current design.
2015-11-02Fix T46626: Crash generating previewsCampbell Barton
Brush.toggle_brush was allowed to be an invalid pointer, it worked for the one operator that used it - but in general bad practice, requiring a lookup on every access. Ensure the pointer is kept valid now.
2015-11-02Library API: pass Main struct to unlink functionsCampbell Barton
2015-11-02Fix BMesh selection flushing w/ mixed modesCampbell Barton
Fix for T46494 wasn't working properly when de-selecting faces, adjacent faces would remain selected but have unselected edges. Logic here is admittedly rather fragile since it relies on both selection functions and flushing afterwards.
2015-11-01Fix T46660: No need to set explicitely UI range of auto smooth angle anymore.Bastien Montagne
2015-11-01Fix T46655: crash reading unknown ID typesCampbell Barton
2015-11-01Cleanup: remove unused scene recalcCampbell Barton
2015-11-01Cleanup: old commentsCampbell Barton
2015-10-31Fix T46651: Select linked crash w/ wire seam edgesCampbell Barton
2015-10-31Fix T46648: Recalculate normals failsCampbell Barton
Certain shapes could trick the inside/outside test. An edge between 2 planar faces could be selected for detecting face-flipping (which failed). While this could be prevented by skipping those edges, use a method which searches for the outer most face-loop, then check it faces the center.
2015-10-30Fix T46647: Crash when using redo panel after extrude individual facesJulian Eisel
Caused by rBe0c60985b6.
2015-10-30Fix memory leak caused by recent shutter curve commitsSergey Sharybin
2015-10-30Python: check version binary name firstCampbell Barton
Check version name first since 'python' binary may be a different version.