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
AgeCommit message (Collapse)Author
2012-04-20aparently `yards` are not used a lot, suppress their use in button display ↵Campbell Barton
(input still knows about them) - was reported as a bug. also fix minor rip bug where active selection was lost.
2012-04-15code cleanup: dont include BLI_winstuff.h on non windows systems, also ↵Campbell Barton
cleanup some defines/includes for windows.
2012-04-10fix for unit system incorrectly replacint 'um' (unicode 'u'). with meters.Campbell Barton
result was editing number buttons with um would give a python error.
2012-03-10style cleanup: unit codeCampbell Barton
2012-03-09style cleanup: spelling.Campbell Barton
also remove large, duplicate comments from sunsky.h
2012-03-06style cleanup, brackets in else/if, some indentation.Campbell Barton
2012-03-04style cleanup / comment formatting for bli/bke/bmeshCampbell Barton
2012-02-23style cleanup for blenkernel, no functional changes.Campbell Barton
2011-12-22split some >120 lines, no functional changesCampbell Barton
2011-12-07Fix #28663: All "unit" properties show a value of 0 (on WinXP&MinGW&scons)Sergey Sharybin
Use %g instead of %lg due to %g is supposed to be used for doubles and %lg confuses mingw at all
2011-11-05use (const char*) rather than (char*) where possible.Campbell Barton
also removed some unused function definitons.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-09-16Fix #28663: All "unit" properties show a value of 0 (on WinXP&MinGW&scons)Sergey Sharybin
Initially problem was caused by updated version of mingw-runtime which changed behavior of snprintf and vsnprintf so %lf isn't anymore valid for doubles. According to manpages, %f is a correct format for snprintf for doubles.
2011-08-30Fixes for snprintf usage:Brecht Van Lommel
* replace by BLI_snprintf in various places, note _snprintf on windows does not properly null terminate the string. * fix overflow in sequencer proxy code due to buffer being smaller than specified size. * fix some usage of snprintf as strcpy, this is will go wrong if the string contains % characters. * remove BLI_dynstr_printf function in gpu module, use BLI_dynstr_appendf
2011-08-11fix [#28213] Imperial unit for 0.001 inches inconsistently displayed as mils ↵Campbell Barton
and thous
2011-04-19patch [#26978] Minor Spelling Mistakes in Editor OperatorsCampbell Barton
+ some errors I noticed.
2011-03-29use less verbose string formatting for units and interface.Campbell Barton
2011-02-27doxygen: blender/blenkernel tagged.Nathan Letwory
2011-02-23Clean up headers a bit more.Guillermo S. Romero
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-13fix for warnings from Sparse static source code checker, mostly BKE/BLI and ↵Campbell Barton
python functions. - use NULL rather then 0 where possible (makes code & function calls more readable IMHO). - set static variables and functions (exposed some unused vars/funcs). - use func(void) rather then func() for definitions.
2010-12-10bugfix [#25154] .MXF files should be included as a known video file type in ↵Campbell Barton
the sequencer [#25159] Vertex locations dont read correctly and are not labeled correctly in the properties bar. - non rna buttons can now have units set. - calls with invalid units system now raises an assert(). - include .mxf in filter.
2010-11-23use unit system for the grid floor (was only ortho before).Campbell Barton
2010-11-23Changes to the ortho grid drawing based on discussion with Ton.Campbell Barton
- ortho grid now draws scaled by the view3d 'Scale' setting, venomgfx noticed this was missing. - so as not to confuse add scale next to unit display text, so rather then "Metres" it shows "Metres x 1.5" otherwise its confusing that grid lines are not in exact units. - changed grid spacing to grid scale (needed for more logical behavior with units) - when units are enabled grey out subdivisions.
2010-11-18fix [#24786] Setting Rotation Units to Radians doesn't affect the UI [33146]Campbell Barton
2010-11-03use c90 compatible static initializers.Campbell Barton
2010-10-21Include BLI_math.h instead of math.h.Nathan Letwory
Silence a warning.
2010-10-06remove some unused code and reduced the scope if some vars (no functional ↵Campbell Barton
change).
2010-09-22patch [#23796] Full support for unit buttons: area, volume, mass, velocity ↵Campbell Barton
and acceleration from Lorenzo Tozzi (oni_niubbo), suppress_only_shown.diff
2010-09-22patch [#23796] Full support for unit buttons: area, volume, mass, velocity ↵Campbell Barton
and acceleration from Lorenzo Tozzi (oni_niubbo), multiple patches: better_split.diff
2010-09-22patch [#23796] Full support for unit buttons: area, volume, mass, velocity ↵Campbell Barton
and acceleration by Lorenzo Tozzi (oni_niubbo)
2010-09-16- bone roll now in degrees not radians.Campbell Barton
- rna buttons with units set now use the units base value for snapping. - bone head/tail radius could be set negative. matt: removed a check in ui_is_but_unit() which made angle buttons return false, what was this for?
2010-09-15patch [#23758] Better handling of UTF chars in UNITS fields (lengths, ↵Campbell Barton
angles, etc.) from Lorenzo Tozzi (oni_niubbo) with minor edits. --- from the tracker The present situation is this: due to bug#22274, during editing, UTF chars are stripped from buttons with a unit associated (length, angles, etc.). Example: if the button displays '90°' and you click on it with LMB, the editing string will become '90'. The problem arises if you use microns: '34µm' becomes '34' that blender interprets as 34 meters. So clicking on a button and hitting enter won't confirm the previous value, but will change it (very badly also). Of course nobody is using microns in blender, but the problem will arise when we will implement areas and option 'Separate Units' will be enabled. The value '2m² 3cm²' will become '2m' during editing. This patch solves the problem rewriting the string in a smarter way than just stripping the UTF chars: the unit is translated from unit->name_short ('µm') to unit->name_alt ('um'). So clicking on '34µm' the editing string will become '34um'. --- end note: rather then allowing empty strings in name_alt field I made it so if the unit system was the default one a NULL name_alt will just strip the string, since its the default its not needed.
2010-04-05Fix [#21895] Incorrect calculations for measurement systemMatt Ebb
3d view grid scale text description wasn't using unit scale correctly
2010-02-28- template with an example of a modal operator drawing with opengl (draw a ↵Campbell Barton
line on the screen) - access to event.mouse_region_x/y - basic type checking to callback functions (use PyCapsule names)
2010-02-28bugfix [#21381] Wrong negative separated unitsCampbell Barton
2010-02-16compile fixes for MSVC!Andrea Weikert
* function must return value! * missing _USE_MATH_DEFINES for M_PI
2010-02-16bugfix [#21136] End frame And Cur Frame setting is broken with ↵Campbell Barton
Metric/Imperial units [26876] and minor changes for unit.c, no functional change.
2010-02-12correct fsf addressCampbell Barton
2010-01-26Use #include "BLI_math.h" instead of _USE_MATH_DEFINES to get M_PI defined.Brecht Van Lommel
2010-01-25* Added #define _USE_MATH_DEFINES Thomas Dinges
in some files to get Blender to compile again on msvc. Without that, it didn't found M_PI.
2010-01-25Radians -> Degrees (in UI)Matt Ebb
Rotations are now stored internally as radians, while exposing degrees in the UI - in the graph editor and UI controls. This is done in two areas: 1) Using the unit system to convert RNA data to display as degrees in the UI controls 2) FCurves now use degrees for rotation, so you can edit in the graph editor what you see in the UI. All rotation data is consistently accessible in DNA and RNA as radians, degrees are only used for the UI controls and graph editor. This commit includes conversions will convert old files (stored data and also fcurve data) to the new units, hopefully everything should go smoothly! Part of this also changes a few properties that were hard-coded as degrees before (such as IK pole angle and brush texture rotation) to also use the same consistent system of radians (dna/rna) and degrees (ui). Thanks to Joshua for hints and review here too.
2009-09-24- cmake/make/scons didnt define INTERNATIONAL when buidling blenfontCampbell Barton
- BLF_lang_init used confusing IFDEF's, unlikely this was well tested. Split this into 3 functions for Apple/Win32/Unix, Unix uses BLI_gethome_folder(), cant test others, ideally they should use BLI_gethome_folder too but needs testing. Possibly each os cant be made to use BLI_gethome_folder and the separate func's can be removed (please test). - units, hectometers were displayed wrong.
2009-08-17- rna sequence sound was referencing unknown structCampbell Barton
- cmake was using libs that were disabled (whitespace changes too) - unit conversion missing checks for % ~ & operators
2009-08-17units with no separator can now be typed into number buttons - eg, 5'7" 2km4mCampbell Barton
2009-08-14- registering new python classes runs the free functions on existing classes.Campbell Barton
- print an error if RNA Structs are freed with a python pointer set to help with debugging leaks. - fix for unlikely eternal loop in unit conversion.
2009-08-13MSVC compile fix.Andrea Weikert
* replaced snprintf with BLI_snprintf * in unit.c used the #define hack used in several places already to avoid adding additional dependency.
2009-08-13added string max length option for unit functions bUnit_AsString and ↵Campbell Barton
bUnit_ReplaceString
2009-08-13- moved unit settings from user prefs into the scene.Campbell Barton
- use the scene context for the unit settings since there isn't a better place for it currently. - added 'chain' to imperial units - set more rna props to be distances and angles.
2009-08-12unit grid snap while transforming, display units in the header.Campbell Barton