Age | Commit message (Collapse) | Author |
|
|
|
- replace ngon_fake_area() with generic call to BM_face_calc_area().
- add defvert_find_shared() utility function.
|
|
Refactoring of draw code showed another problem: The MCol we want to draw may change without dm rebuild (e.g. when enabling solid textured option)! Also, choosing which MCol layer to use in GPU code is stupid, different draw modes use different layers/order of precedence!
Solved this by adding a new colType parameter to GPU_color_setup, and removing any 'color choosing' code from gpu_buffers.c.
|
|
|
|
|
|
there are 3 operators here that share
utility functions with eachother but have nothing in common with other operators in bmo_utils.c
|
|
Recently addons were submitted for review and this was the only advantage they had over blenders existing internal
select-similar tool.
|
|
|
|
|
|
writing to attributes is disabled.
|
|
Now the correct paint struct is returned and the image zoom is calculated correctly
|
|
3D text object editing, ALT+Backspace trick is back to construct special characters.
Like: O , Alt+Backspace , / creates an O with a / in it.
It also makes plus-minus, unequal, copyright, 1/2, 3/4. etc. Easy method you
never forget after using once!
Got broken with adding UTF support a year ago.
|
|
* items were wrongly added too SYSTEM_BOOKMARKS rather than SYSTEM, now fixed
|
|
|
|
|
|
This should make trackpads work.
|
|
Screencast recording stopped on a undo/redo. This was because all thread jobs
were killed then. Now it leaves screen jobs (screen cast) running, that's
data that doesn't change on undos.
Also renamed jobs_stop_all() to jobs_kill_all() - it terminates threads.
|
|
Appart from the color glitch, there was several problems with vpaint:
* "fast_update" mode was never on, because of wrong testing code;
* drawing refresh during stroke in "fast_update" (i.e. no dm rebuild) mode was broken in VBO mode, because updated (tess data) mcol wasn't moved to colors GPUBuffer.
Solved the later point by adding a new DM_DIRTY_MCOL_UPDATE_DRAW flag to DerivedMesh dirty var, which is set each time vpaint stroke directly update me->mcol, and forces GPU_color_setup() to refresh the gpu's colors buffer.
Also got rid of the uggly GPU_color3_upload(), which basically did the same thing, but with an additional intermediate buffer !
|
|
|
|
|
|
in convertToOperations. The InputSocket->unlink function should only be used in combination with relinkConnectionsDuplicate, in which case the original node connection will still exist. This would trigger an assert failure, so the original connection should be removed. Only node using this atm is the channel separation node, but will be needed for future group nodes too.
|
|
Last cleanup resulted in the dreaded "Click" to fail again. Commented it.
|
|
|
|
Use the "Selected" color instead of the "Active" color when the group has active
status. This should help make the text just a little more legible, though in
some cases it still might not be enough.
|
|
|
|
Backspace event is messed up - it was inserting weird characters in the editors.
Added check for proper keypress now. Will check real issue later.
|
|
error in recent decimator upgrade, missing NULL check.
|
|
it should have.
(pointed out by Bastien Montagne in relation to [#33002]).
|
|
to BLI_math_matrix
|
|
|
|
This way the sidebar is visible by default when making a new node editor.
Rationale is that the sidebar contains some extra detail settings for several node types. Many users don't seem to even know that this feature exists, so making it visible by default should be helpful.
|
|
world, lamp, texture, scene). These node trees were not properly freeing the IDProperty data, due to not being called from BKE_libblock_free.
Now there is an extra function BKE_libblock_free_data, which is called explicitly in ntreeFreeTree if the tree is not part of the library data (ntreeCopyTree does a similar thing using BKE_libblock_copy_data).
|
|
|
|
|
|
|
|
Now modifier key press gets generated without having own modifier set.
Same happens for double clicks on modifiers.
This also fixes case: press shift twice first, modifier fails.
|
|
Removed dubious code for checking CTRL+C CTRL+V on buttons.
This made copy/paste fail if you keep the modifier key holding.
|
|
|
|
- Solved Modal Keymap hijack of event codes
(with note this should be coded better)
- Added dedicated state variable check_click in event to trigger it
All this in an attempt to get code understandable and predictable again. :)
This solves error like:
- editmode mesh
- select a vertex
- grab it, press control for grid snap
- on LMB assign, it also did an extrude.
|
|
|
|
some meshes, now use the system qsort instead of a custom one (which I guess
suffered from poor choice of pivot point in some cases).
|
|
PATCH: [#32989] Activate backup files filter in File Browser
Contributed by Georg Kronthaler, many thanks!
(I just moved the icon to a different place reserved for file browser icons)
* enables the filtering of backup files in the file browser
* adds a 'filter backup files'-icon to the filter buttons
* adds new icons for backup files in list and thumbnail view
* enables file preview for the backup files
|
|
PATCH: [#32985] File Browser text file icon does not match text filter icon
Contributed by Georg Kronthaler, many thanks!
* set correct icon for text files and drag&drop
* remove duplicate if for filter_text
* fixed a couple of blanks at the end of line.
|
|
- Camera mode fly a bit
- Apply view change
- Middlemouse to go out of camera view
Zoom then fails. Appears the flymode is resetting values that have to be set.
The bugreporter claims same, but blames it on particles ;)
|
|
emitter/brush.
|
|
In texture buttons, changing the preview could crash.
The preview template was accidentally providing a Texture ID where a Material
was meant to be given.
Crash occurred due adding code in material update that checked/cleared node
previews.
|
|
|
|
"Area prev space" was setting areas to "Info" - in case no previous editor
could be found. That goes wrong for cases like:
- goto composite screen
- make image editor full
- render
- esc
|
|
|
|
reason.
|