Fix [#34920] Hit Spacebar, search for freestyle, click Move Freestyle Module - crash

Simply add a poll func to (re)move freestyle module ops, to check whether we actually have an active module in context.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55896 954f8c5b-7b00-dc11-b283-0030488c597c
fix for own mistake in recent adjustments to transform, local without individual-origin wasn't working.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55897 954f8c5b-7b00-dc11-b283-0030488c597c
Exposed the bNodeSocket->limit value in RNA, so it can be redefined by 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.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55898 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: unused macros


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55899 954f8c5b-7b00-dc11-b283-0030488c597c
fix for various crashes from incorrect poll functions.
- 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.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55900 954f8c5b-7b00-dc11-b283-0030488c597c
Camera stabilization fixes and improvements

- 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.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55901 954f8c5b-7b00-dc11-b283-0030488c597c
2D stabilization default filter to bilinear

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55902 954f8c5b-7b00-dc11-b283-0030488c597c
rewind part of r55893, smooth-view for pan was annoying with mousewheel.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55903 954f8c5b-7b00-dc11-b283-0030488c597c
fix quick render slot navigation to suit 10 render slots
fix for bug where notifiers could hold pointers to freed data which listeners would operate on.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55904 954f8c5b-7b00-dc11-b283-0030488c597c
A few more UI messages fixes...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55905 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34908: compressed DDS files did not display properly when their mipmap levels
did not go down to 1x1 image size, need to set GL_TEXTURE_MAX_LEVEL then.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55906 954f8c5b-7b00-dc11-b283-0030488c597c
Texture tools robustness:
* 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.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55907 954f8c5b-7b00-dc11-b283-0030488c597c
Update ceres to current upstream version

Brings fixes for BLAS.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55908 954f8c5b-7b00-dc11-b283-0030488c597c
Bundle adjustment improvements

- Get rid of rotation matrix parameterization,
  use angle-axis instead.

  Also Joined rotation and translation into a
  single parameter block.

  This made minimization go significantly faster,
  like 1.3x times in average.

- Fix first camera when bundling. This is to
  address orientation ambiguity.

  Reconstruction result could still vary in
  size, but that's another issue to be addressed
  later.

Additional change:

Split EuclideanBundleCommonIntrinsics into
smaller functions, so it's now a bit easier
to follow.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55909 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34875: 0 digits of precision was not supported for FloatProperty, now
you can specify precision=0 for this, and use -1 for the default 2.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55910 954f8c5b-7b00-dc11-b283-0030488c597c
Compatibility and robustness:

* 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.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55911 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34921: cycles rendered a specific scene with a small high poly object
contained in a large low poly object very slow, due to failure case of fast
multithread BVH binning. Tweaked parameter now to avoid this.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55912 954f8c5b-7b00-dc11-b283-0030488c597c
fix for error in recent changes to beautify, clear edge tags before use.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55913 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34902] Unicode decode error in Python console when completing a method name of text object in edit mode


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55914 954f8c5b-7b00-dc11-b283-0030488c597c