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
2013-04-09Attempt to fix a potential name conflict between Freestyle and the compositor.Tamito Kajiyama
A crash in the Freestyle renderer was reported by Ton on IRC with a stack trace below. Note that #2 is in Freestyle, whereas #1 is in the compositor. The problem was observed in a debug build on OS X 10.7 (gcc 4.2, openmp disabled, no llvm). ---------------------------------------------------------------------- Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: 13 at address: 0x0000000000000000 [Switching to process 72386 thread 0xf303] 0x0000000100c129f3 in NodeBase::~NodeBase (this=0x10e501c80) at COM_NodeBase.cpp:43 43 delete (this->m_outputsockets.back()); Current language: auto; currently c++ (gdb) where #0 0x0000000100c129f3 in NodeBase::~NodeBase (this=0x10e501c80) at COM_NodeBase.cpp:43 #1 0x0000000100c29066 in Node::~Node (this=0x10e501c80) at COM_Node.h:49 #2 0x000000010089c273 in NodeShape::~NodeShape (this=0x10e501c80) at NodeShape.cpp:43 #3 0x000000010089910b in NodeGroup::destroy (this=0x10e501da0) at NodeGroup.cpp:61 #4 0x00000001008990cd in NodeGroup::destroy (this=0x10e5014b0) at NodeGroup.cpp:59 #5 0x00000001008990cd in NodeGroup::destroy (this=0x114e18da0) at NodeGroup.cpp:59 #6 0x00000001007e6602 in Controller::ClearRootNode (this=0x114e19640) at Controller.cpp:329 #7 0x00000001007ea52e in Controller::LoadMesh (this=0x114e19640, re=0x10aba4638, srl=0x1140f5258) at Controller.cpp:302 #8 0x00000001008030ad in prepare (re=0x10aba4638, srl=0x1140f5258) at FRS_freestyle.cpp:302 #9 0x000000010080457a in FRS_do_stroke_rendering (re=0x10aba4638, srl=0x1140f5258) at FRS_freestyle.cpp:600 #10 0x00000001006aeb9d in add_freestyle (re=0x10aba4638) at pipeline.c:1584 #11 0x00000001006aceb7 in do_render_3d (re=0x10aba4638) at pipeline.c:1094 #12 0x00000001006ae061 in do_render_fields_blur_3d (re=0x10aba4638) at pipeline.c:1367 #13 0x00000001006afa16 in do_render_composite_fields_blur_3d (re=0x10aba4638) at pipeline.c:1815 #14 0x00000001006b04e4 in do_render_all_options (re=0x10aba4638) at pipeline.c:2021 ---------------------------------------------------------------------- Apparently a name conflict between the two Blender modules is taking place. The present commit hence intends to address it by putting all the Freestyle C++ classes in the namespace 'Freestyle'. This revision will also prevent potential name conflicts with other Blender modules in the future. Special thanks to Lukas Toenne for the help with C++ namespace.
2013-04-09fix [#34902] Unicode decode error in Python console when completing a method ↵Campbell Barton
name of text object in edit mode
2013-04-09fix for error in recent changes to beautify, clear edge tags before use.Campbell Barton
2013-04-08Compatibility and robustness:Antony Riakiotakis
* Make masking depend on texture mode only if there's an actual texture present * New stroke system uses diameter to calculate stroke spacing, while old texture painting brushes and system used radius. So divide spacing of brushes in old files to half. Since I expect trunk users to have already adapted this, I do this for an old subversion of blender.
2013-04-08Fix #34875: 0 digits of precision was not supported for FloatProperty, nowBrecht Van Lommel
you can specify precision=0 for this, and use -1 for the default 2.
2013-04-08Texture tools robustness:Antony Riakiotakis
* Pressing x or y to scale overlay immediately presents visual feedback instead of requiring mouse motion * Hide the ovelay icon when stencil is active since you can't deactivate then.
2013-04-08Fix #34908: compressed DDS files did not display properly when their mipmap ↵Brecht Van Lommel
levels did not go down to 1x1 image size, need to set GL_TEXTURE_MAX_LEVEL then.
2013-04-08A few more UI messages fixes...Bastien Montagne
2013-04-08fix for bug where notifiers could hold pointers to freed data which ↵Campbell Barton
listeners would operate on.
2013-04-08rewind part of r55893, smooth-view for pan was annoying with mousewheel.Campbell Barton
2013-04-082D stabilization default filter to bilinearSergey Sharybin
2013-04-08Camera stabilization fixes and improvementsSergey Sharybin
- Nearest interpolation was always used when there's no rotation for stabilization. Was a failure of optimization heuristic. - Made 2d stabilization frame acquiring threaded. This function is only used for display and sequencer which will only benefit of threads here. - Fixed bug introduced in r48749 which lead to re-making stable frame on every redraw.
2013-04-08fix for various crashes from incorrect poll functions.Campbell Barton
- bevel had incorrect cancel when initialization failed which could crash (own mistake). - main particle poll function didnt check if the area/region were NULL. - some uv operators needed space image but didnt check for it. also use uv_ prefix for most operator functions.
2013-04-08code cleanup: unused macrosCampbell Barton
2013-04-08Exposed the bNodeSocket->limit value in RNA, so it can be redefined by ↵Lukas Toenne
pynodes. All sockets will have strict n-to-1 connectivity by default, which is fine for data sockets, but things like geometry nodes with a more data-flow based connectivity for certain socket types will need to change this.
2013-04-08fix for own mistake in recent adjustments to transform, local without ↵Campbell Barton
individual-origin wasn't working.
2013-04-08Fix [#34920] Hit Spacebar, search for freestyle, click Move Freestyle Module ↵Bastien Montagne
- crash Simply add a poll func to (re)move freestyle module ops, to check whether we actually have an active module in context.
2013-04-08fix [#34900] Building blender as a python module is broken in trunkCampbell Barton
patch provided by reporter - Martijn Berger (juicyfruit) also quiet warnings for headless mode.
2013-04-08fix [#34903] Lock Camera to View allows Numpad orbit, but not Numpad panCampbell Barton
2013-04-08style cleanupCampbell Barton
2013-04-08inset and bevel could both be activated when there was no selection.Campbell Barton
2013-04-08fix [#34918] Interactive bevel doesn't accept +/- keys to change # of ↵Campbell Barton
segments, only scrollwheel Since page-up/down isnt common for this use case, replace with pad+/-
2013-04-08fix [#34905] Text editor: replacing matches by empty string not allowedCampbell Barton
2013-04-08fix for fix: re-activating buttons to fix [#33466], meant the icon didn't ↵Campbell Barton
get refreshed immediately.
2013-04-08surpport converting boundary edges to curves with BKE_mesh_to_curve(). alt+c ↵Campbell Barton
convert.
2013-04-07Fix for [#34898] Typo in error message of mathutils.VectorThomas Dinges
* Also fixed some more cases of "more then" -> "more than".
2013-04-07rigidbody: Fix/workaround for transforming rigid bodies with parentsSergej Reich
Since we use the rigid body transform when transforming rigid bodies things like parents and constraints add an offset because rigid body transforms are in global space. Now we just don't take rigid body transform into account on simulation start frame so there are no problems when doing the initial setup. The problem still exists when simulation is running of course. To properly fix this we'd have to solve parenting and constratins while taking rigid bodies into account before and after transform. We'll have to see if it's really needed, would like to avoid it though.
2013-04-07transform: Code cleanupSergej Reich
Reduce scope of a variable.
2013-04-07Mesh Tool,Campbell Barton
inset interpolation now works for 'inset_region', enabled by default. Example: http://www.graphicall.org/ftp/ideasman42/inset_interpolation_new.png
2013-04-07use lowercase name for freestyle module (as with all other blender modules).Campbell Barton
2013-04-07Reverting changes from r55873 for rna_define.c, sorry about that...Bastien Montagne
svn merge -r55873:55872 ./source/blender/makesrna/intern/rna_define.c
2013-04-07Freestyle UI:Thomas Dinges
* Remove "Unit" prefix from line thickness property. (discussed with Tamito in IRC)
2013-04-07Fix for Unicode literal (causing a compile error in VS 2008).Tamito Kajiyama
2013-04-07Usual typo fixes... ;)Bastien Montagne
2013-04-07Reverted a change accidentally committed.Tamito Kajiyama
2013-04-07Missing build_files updates in the merger in revision 55847.Tamito Kajiyama
2013-04-07mesh inset tool - option to interpolate UV's vcols etc, on by default since ↵Campbell Barton
this is almost always what you'd want. currently only working for inset-individual, inset-region coming next.
2013-04-07simplify inset loop-customdata-copying, no real benefit in using adjacent ↵Campbell Barton
faces as customdata source.
2013-04-07improve bmesh face interpolation - transforming verts into the faces plane ↵Campbell Barton
rather then using dominant axis or calculating in 3d with interp_weights_poly_v3().
2013-04-07freestyle lineset `tag` attribute was defined but not used, also some code ↵Campbell Barton
cleanup.
2013-04-07remove error checks for inset, adding a faces in this instance wont fail (or ↵Campbell Barton
if it does - theres a bug elsewhere).
2013-04-07BGE: KX_Camera.getScreenVect() was using glReadPixels to get a depth value, ↵Mitchell Stokes
which was causing a sync event between the gpu and cpu. glReadPixels was always returning 0, so I removed it and set depth to be a constant 0.
2013-04-07fix: display weight brush strength widget only in weight paint modeGaia Clary
2013-04-07Whoops, revert r55854 and use r48292 as isDan Eicher
Turns out outliner_search_back() doesn't always return a valid scene...
2013-04-07Clicking on an outliner object in an unselected scene switches to the scene ↵Dan Eicher
but doesn't set it as the active object Based on commit soc-2012-bratwurst:r48292 by Jorge Rodriquez
2013-04-06Fix for a heap-use-after-free issue, reported by Lockal in the IRC.Tamito Kajiyama
2013-04-06Part I of the Freestyle branch merger: new 'freestyle' folders.Tamito Kajiyama
This commit is the first part of a two-part merger of the soc-2008-mxcurioni (Freestyle) branch. New 'freestyle' folders were added to the source/blender/ and release/script/ directories through a couple of svn copy operations (instead of svn merge, due to broken svn:mergeinfo properties of the branch).
2013-04-06Revert change made to bilinear sampler in libmvSergey Sharybin
This made preview working but that broke internals of tracking. Namely, BlurredImageAndDerivativesChannels is giving much more blurred image because it was assuming pixel center is an integer position. Guess other parts of libmv used to suffer because of this issue. Now pixel centering happens in blender side, and libmv assumes integer position is a pixel center.
2013-04-06Pre-merger changes.soc-2008-mxcurioniTamito Kajiyama
Deprecated Freestyle-specific elements were removed from the code base, in order to address all comments from branch code reviews. https://codereview.appspot.com/7416049/ Backward compatibility won't be maintained in the following components: - Freestyle edge/face marks in old .blend files are ignored. Old .blend files can be converted by loading and saving the files using a Freestyle branch build between revision 55581 and 55842. - External style modules are no longer supported. Instead text datablocks must be used to keep style module files within .blend files. A branch build between revision 55741 and 55842 is useful for identifying the style module file names that need reconfiguring.
2013-04-06svn merge ^/trunk/blender -r55815:55840Sergey Sharybin